Extract the sub-value at the specified path.
Extract a value with the provided field.
Extract the elements of an ArrayV using the provided field.
Cast the value to T, using a Decoder.
A FaunaDB value.
Reference: FaunaDB Values
Overview
Value is an algebraic data type that represents the value of possible FaunaDB query responses. While it is possible to extract data out of a Value object using pattern matching, the faunadb.values.Field lets you create more complex and reusable data extractors.
Extraction can be composed:
If a value may be an array, or may contain an array, the array's elements may be cast using collect: