Token.where()
Description
Gets a Set of tokens, represented as
Token
documents, that match a
provided predicate function.
A token is a type of
authentication secret used to
provide identity-based access to a Fauna database. Fauna stores tokens as
documents in the Token
system
collection.
If Token.where()
is the last expression in a query, the first page of
the Set
is returned. See Pagination.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
pred |
Yes |
Anonymous predicate function that:
The method returns a Set of |