Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Query.cs
Go to the documentation of this file.
1using Fauna.Mapping;
3
4namespace Fauna;
5
9
10public abstract class Query : IEquatable<Query>, IQueryFragment
11{
17 public abstract void Serialize(MappingContext ctx, Utf8FaunaWriter writer);
18
23 public abstract override int GetHashCode();
24
30 public abstract override bool Equals(object? otherObject);
31
37 public abstract bool Equals(Query? otherQuery);
38
44 public static Query FQL(ref QueryStringHandler handler)
45 {
46 return handler.Result();
47 }
48}
A class representing the mapping context to be used during serialization and deserialization.
Represents the abstract base class for constructing FQL queries.
Definition Query.cs:11
void Serialize(MappingContext ctx, Utf8FaunaWriter writer)
Serializes the query into the provided stream.
bool Equals(Query? otherQuery)
Determines whether the specified Query is equal to the current query.
override int GetHashCode()
Returns a hash code for the current query.
override bool Equals(object? otherObject)
Determines whether the specified object is equal to the current query.
static Query FQL(ref QueryStringHandler handler)
Constructs an FQL query using the specified QueryStringHandler.
Definition Query.cs:44
Provides functionality for writing data in a streaming manner to a buffer or a stream.
Represents the base interface for a query fragment used for FQL query construction.
Provides a mechanism to build FQL query expressions using interpolated strings. This structure collec...