A field extractor for a FaunaDB Value
More...
|
Field< U > | At< U > (Field< U > other) |
| Creates a field extractor composed with another nested field More...
|
|
Field< U > | To< U > () |
| Creates a field extractor that coerces its value using the type specified More...
|
|
Field< IReadOnlyList< U > > | Collect< U > (Field< U > field) |
| Creates a field extractor that collects each inner value of an array using the nested field passed, assuming the root value is an instance of ArrayV More...
|
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
override string | ToString () |
|
|
static Field< Value > | At (params string[] keys) |
| Creates a field that extracts its value from a object path, assuming the value is an instance of ObjectV. More...
|
|
static Field< Value > | At (params int[] indexes) |
| Creates a field that extracts its value from a array index, assuming the value is an instance of ArrayV. More...
|
|
static Field< T > | To< T > () |
| Creates a field that coerces its value using the type specified. More...
|
|
A field extractor for a FaunaDB Value
See Value
Definition at line 12 of file Field.cs.
◆ At() [1/2]
Creates a field that extracts its value from a array index, assuming the value is an instance of ArrayV.
- Parameters
-
indexes | indexes path to the value |
- Returns
- the field extractor
◆ At() [2/2]
Creates a field that extracts its value from a object path, assuming the value is an instance of ObjectV.
- Parameters
-
- Returns
- the field extractor
◆ At< U >()
Creates a field extractor composed with another nested field
- Parameters
-
other | nested field to compose with |
- Returns
- a new field extractor with the nested field
◆ Collect< U >()
Creates a field extractor that collects each inner value of an array using the nested field passed, assuming the root value is an instance of ArrayV
- Parameters
-
field | field to be extracted from each array's element |
- Returns
- a new field that collects each inner value using the field passed
◆ Equals()
◆ GetHashCode()
◆ To< T >()
Creates a field that coerces its value using the type specified.
- Returns
- the field extractor
◆ To< U >()
Creates a field extractor that coerces its value using the type specified
- Returns
- a new field that coerces its value using the type specified
◆ ToString()
The documentation for this class was generated from the following file:
- /tmp/build/1a4543b4/fauna-csharp-repository/FaunaDB.Client/Types/Field.cs