Collection

Properties

NAME TYPE DESCRIPTION
$id string Collection ID.
$createdAt string Collection creation date in ISO 8601 format.
$updatedAt string Collection update date in ISO 8601 format.
$permissions array Collection permissions. [Learn more about permissions](https://appwrite.io/docs/advanced/platform/permissions).
databaseId string Database ID.
name string Collection name.
enabled boolean Collection enabled.
documentSecurity boolean Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/advanced/platform/permissions).
attributes array Collection attributes. Can be one of:

AttributeBoolean model, AttributeInteger model, AttributeFloat model, AttributeEmail model, AttributeEnum model, AttributeURL model, AttributeIP model, AttributeDatetime model, AttributeString model

indexes array Collection indexes. Can be one of:

Index model

Example