Credential.byDocument()
Get credential by document.
Return value
Type | Description |
---|---|
The credential associated with document. |
|
|
no credentials or doesn’t exist. |
Examples
let document = Customer.byId("111")
Credential.byDocument(document)
{
id: "401328088781160521",
coll: Credential,
ts: Time("2099-06-21T18:39:00.735Z"),
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!