Singleton
Copied!
Singleton( ref )
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
A reference to a resource, such as a document, collection, database, etc. |
Examples
The following query creates a single-item set from the provided ref
:
Singleton(Ref(Collection("posts"), "233286601218720256"))
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!