Represents a generic value holder for FQL queries. This class allows embedding values of various types into the query, with support for primitives, POCOs, and other types. More...
Public Member Functions | |
QueryVal (object? v) | |
Initializes a new instance of the QueryVal class with the specified value. | |
override void | Serialize (MappingContext ctx, Utf8FaunaWriter writer) |
Serializes the query value. | |
override bool | Equals (Query? o) |
Determines whether the specified QueryVal is equal to the current QueryVal. | |
override bool | Equals (object? o) |
Determines whether the specified object is equal to the current QueryVal. | |
override int | GetHashCode () |
The default hash function. | |
override string | ToString () |
Returns a string that represents the current QueryVal. | |
Public Member Functions inherited from Fauna.Query | |
void | Serialize (MappingContext ctx, Utf8FaunaWriter writer) |
Serializes the query into the provided stream. | |
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. | |
bool | Equals (Query? otherQuery) |
Determines whether the specified Query is equal to the current query. | |
Public Member Functions inherited from Fauna.IQueryFragment |
Static Public Member Functions | |
static bool | operator== (QueryVal left, QueryVal right) |
Determines whether two specified instances of QueryVal are equal. | |
static bool | operator!= (QueryVal left, QueryVal right) |
Determines whether two specified instances of QueryVal are not equal. | |
Static Public Member Functions inherited from Fauna.Query | |
static Query | FQL (ref QueryStringHandler handler) |
Constructs an FQL query using the specified QueryStringHandler. | |
Properties | |
object? | Unwrap [get] |
Gets the value of the specified type represented in the query. | |
Represents a generic value holder for FQL queries. This class allows embedding values of various types into the query, with support for primitives, POCOs, and other types.
Definition at line 9 of file QueryVal.cs.
Fauna.QueryVal.QueryVal | ( | object? | v | ) |
Initializes a new instance of the QueryVal class with the specified value.
v | The value of the specified type to be represented in the query. |
Definition at line 20 of file QueryVal.cs.
override bool Fauna.QueryVal.Equals | ( | object? | o | ) |
Determines whether the specified object is equal to the current QueryVal.
o | The object to compare with the current QueryVal. |
Definition at line 52 of file QueryVal.cs.
override bool Fauna.QueryVal.Equals | ( | Query? | o | ) |
override int Fauna.QueryVal.GetHashCode | ( | ) |
The default hash function.
Definition at line 66 of file QueryVal.cs.
Determines whether two specified instances of QueryVal are not equal.
Definition at line 111 of file QueryVal.cs.
Determines whether two specified instances of QueryVal are equal.
Definition at line 90 of file QueryVal.cs.
override void Fauna.QueryVal.Serialize | ( | MappingContext | ctx, |
Utf8FaunaWriter | writer ) |
Serializes the query value.
ctx | The serialization context. |
writer | The writer to serialize the query value to. |
Implements Fauna.IQueryFragment.
Definition at line 31 of file QueryVal.cs.
override string Fauna.QueryVal.ToString | ( | ) |
|
get |
Gets the value of the specified type represented in the query.
Definition at line 14 of file QueryVal.cs.