Collection.where()
Learn: Collections |
---|
Get a Set of collection definitions that match a provided predicate.
Description
Gets a Set of collection definitions,
represented as Collection
documents, that match a provided
predicate function.
Collection
documents are FQL versions of a database’s FSL
collection schema. Collection
documents
have the CollectionDef type. See
Collections.
If this method is the last expression in a query, the first page of
the Set
is returned. See Pagination.
Staged schema
If a database has staged schema, this method interacts with the database’s staged schema, not the active schema.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
pred |
Yes |
Anonymous predicate function that:
The method returns a Set of |