This reference documentation describes the properties and methods available for working with databases.


Use the Database Singleton to create and query a child database.

A parent database can’t directly interact with the objects in a child database.


Static methods

Method Description

Get the set of all child databases.

Get a database document by its name.

Create a child database.

Get the first matching database.

Get the name of the Database collection as a string.

Get the set of matching databases.

Instance methods

Method Description

Delete a database.

Verify that a database exists.

Replace database fields.

Update database fields.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email

Thank you for your feedback!