14 public IDictionary<string, Query>
Unwrap {
get; }
32 var ser = Serializer.Generate(ctx, GetType());
33 ser.Serialize(ctx, writer,
this);
48 public override bool Equals(
object? o)
50 return ReferenceEquals(
this, o) || IsEqual(o as
QueryObj);
61 hash *=
Unwrap.GetHashCode();
70 public override string ToString() => $
"QueryObj({Unwrap})";
80 return ReferenceEquals(left, right) || left.
Equals(right);
91 return !(left == right);
A class representing the mapping context to be used during serialization and deserialization.
Represents the abstract base class for constructing FQL queries.
Represents a dictionary of FQL queries.
override bool Equals(object? o)
Determines whether the specified object is equal to the current QueryObj.
override bool Equals(Query? o)
Determines whether the specified QueryObj is equal to the current QueryObj.
static bool operator==(QueryObj left, QueryObj right)
Determines whether two specified instances of QueryObj are equal.
override string ToString()
Returns a string that represents the current QueryObj.
static bool operator!=(QueryObj left, QueryObj right)
Determines whether two specified instances of QueryObj are not equal.
override int GetHashCode()
The default hash function.
override void Serialize(MappingContext ctx, Utf8FaunaWriter writer)
Serializes the query value.
QueryObj(IDictionary< string, Query > v)
Initializes a new instance of the QueryObj class with the specified value.
IDictionary< string, Query > Unwrap
Gets the value of the specified type represented in the query.
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.