Credential.all()
Get the Set of all Credential
documents.
Description
This method returns the Set of all credentials in the database. If
Credential.all()
is the last expression in a query, the first page of the
Set
is returned.
Examples
Credential.all()
{
data: [
{
id: "401670531152086093",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Manager("401670531119579213")
},
{
id: "401670531158376525",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("401670531121676365")
},
{
id: "401670531164667981",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("401670531122724941")
},
{
id: "401670531170959437",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("401670531123773517")
}
]
}
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!