Identity
Identity()
Identity()
Identity()
Identity()
identity()
Identity()
Description
This function is deprecated as of API version 4. Use the
See the Deprecations page for more details. |
The Identity
function returns the ref of the document associated with
the authentication token used for the request. If a document does not
exist, an error is returned.
Examples
RefV(id = "1", collection = RefV(id = "users", collection = RefV(id = "collections")))
{1 0xc000170150 0xc000170150 <nil>}
ref(id = "1", collection = ref(id = "users", collection = ref(id = "collections")))
Ref(Collection("users"), "1")
Ref(id=1, collection=Ref(id=users, collection=Ref(id=collections)))
ref(id = "1", collection = ref(id = "users", collection = ref(id = "collections")))
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums
or email docs@fauna.com
Thank you for your feedback!