Module: values

FaunaDB value types. Generally, these collections do not need to be instantiated directly; they can be constructed through helper methods in module:query.

Instances of these collections will be returned in responses if the response object contains these values. For example, a FaunaDB response containing { "@ref": { "id": "123", "collection": { "@ref": { "id": "frogs", "collection": { "@ref": { "id": "collectiones" } } } } } } will be returned as new values.Ref("123", new values.Ref("frogs", values.Native.COLLECTIONS)).

See the FaunaDB Query API Documentation for more information.

Source:

Classes

Bytes
FaunaDate
FaunaTime
Query
Ref
SetRef
Value