Token.byDocument()
Get a Token
document.
Description
This method returns the Set of tokens associated with document. An identity may have multiple tokens.
Examples
Token.byDocument(Customer.byId("111"))
{
data: [
{
id: "371233004820889634",
coll: Token,
ts: Time("2099-07-25T14:10:32.165Z"),
document: Customer("111")
},
...
]
}
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!