A materialized Document with a name. Specific AccessProviders, Collections, Databases,
Functions, etc. that include user defined data are modeled with a NamedDocument.
The example below retrieves a NamedDocument for a hypothetical
"Users" collection.
A materialized Document with a name. Specific AccessProviders, Collections, Databases, Functions, etc. that include user defined data are modeled with a NamedDocument.
The example below retrieves a NamedDocument for a hypothetical "Users" collection.
Example
Example
All of the named Documents can have optional, user-defined data. The generic class lets you define the shape of that data in a typesafe way
See
https://docs.fauna.com/fauna/current/reference/fql_reference/types#special