Docs
Skip to content

Databases

Documents_

Master document management with Appwrite Databases. Learn how to create, update, and query documents within your collections for dynamic data storage.

2 min read

Raw

Each piece of data or information in Appwrite Databases is a document. Documents have a structure defined by the parent collection.

Create documents

In most use cases, you will create documents programmatically.

During testing, you might prefer to create documents in the Appwrite Console. To do so, navigate to the Documents tab of your collection and click the Add document button.

List documents

Documents can be retrieved using the List Document endpoint.

Results can be filtered, sorted, and paginated using Appwrite's shared set of query methods. You can find a full guide on querying in the Queries Guide.

By default, results are limited to the first 25 items. You can change this through pagination.

Upsert documents

In most use cases, you will upsert documents programmatically.

Permissions

In Appwrite, permissions can be granted at the collection level and the document level. Before a user can create a document, you need to grant create permissions to the user.

Read, update, and delete permissions can be granted at both the collection and document level. Users only need to be granted access at either the collection or document level to access documents.

Learn about configuring permissions.

Next steps

Continue learning with these related guides:

Learn more about bulk operations.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.