Collections
Copied!
Collections( [database] )
Description
Examples
-
The following query lists the References for any collections (up to the pagination limit) within the current database:
{ data: [ Collection("Letters"), Collection("People"), Collection("characters"), Collection("customers"), Collection("decrepit_huts"), Collection("magical_creatures"), Collection("orders"), Collection("posts"), Collection("products"), Collection("spellbooks"), Collection("spells"), Collection("stores"), Collection("users") ] }
-
The following query lists the References for any collections (up to the pagination limit) within a child database named "child_db":
{ data: [] }
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!