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: "401670531158376525",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("111")
},
{
id: "401670531164667981",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("222")
},
{
id: "401670531170959437",
coll: Credential,
ts: Time("2099-06-25T13:21:59.270Z"),
document: Customer("333")
}
]
}
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!