Works around with Databases in Appwrite
Method Name | Usage | Link |
---|---|---|
create() |
Creates a new database in the Appwrite project. | Example |
get() |
Fetches the database from the Appwrite project using the unique database ID. | Example |
list() |
Retrieves a list of all databases in the Appwrite project. | Example |
update() |
Updates a databases details in the Appwrite project. | Example |
getDatabaseUsage() |
Fetches databases Usage details in the Appwrite project. | Example |
getCollectionUsage() |
Fetches collection Usage details in the Appwrite project. | Example |
Method Name | Usage | Link |
---|---|---|
createCollection() |
Creates a new collection in the database in the Appwrite project | Example |
getCollection() |
Fetches the collection from the Appwrite project using the unique collection ID. | Example |
updateCollection() |
Updates the collection from the Appwrite project using the unique collection ID. | Example |
listCollection() |
List the collection from the Appwrite project. | Example |
deleteCollection() |
Delete the collection from the Appwrite project using the unique collection ID. | Example |
Method Name | Usage | Link |
---|---|---|
listAttributes() |
List all Attribute in the database in the Appwrite project | Example |
createBooleanAttribute() |
Creates Boolean Attribute in the database in the Appwrite project | Example |
updateBooleanAttribute() |
Updates Boolean Attribute in the database in the Appwrite project | Example |
createEmailAttribute() |
Creates Email Attribute in the database in the Appwrite project | Example |
updateEmailAttribute() |
Updates Email Attribute in the database in the Appwrite project | Example |
createEnumAttribute() |
Creates Enum Attribute in the database in the Appwrite project | Example |
updateEnumAttribute() |
Updates Enum Attribute in the database in the Appwrite project | Example |
createFloatAttribute() |
Creates Float Attribute in the database in the Appwrite project | Example |
updateFloatAttribute() |
Updates Float Attribute in the database in the Appwrite project | Example |
createIntegerAttribute() |
Create Integer Attribute in the database in the Appwrite project | Example |
updateIntegerAttribute() |
Update Integer Attribute in the database in the Appwrite project | Example |
createIPaddressAttribute() |
Create IP Address Attribute in the database in the Appwrite project | Example |
updateIPaddressAttribute() |
Update IP Address Attribute in the database in the Appwrite project | Example |
createStringAttribute() |
Create String Attribute in the database in the Appwrite project | Example |
updateStringAttribute() |
Update String Attribute in the database in the Appwrite project | Example |
Method Name | Usage | Link |
---|---|---|
listIndexes() |
List all Indexes from the Collection in the database in the Appwrite project | Example |
createIndex() |
Create Indexes in the Collection in the Appwrite project | Example |
getIndex() |
Fetch Indexes in the Collection in the Appwrite project | Example |
deleteIndex() |
Delete Indexes in the Collection in the Appwrite project | Example |
Method Name | Usage | Link |
---|---|---|
createDocument |
Creates a new Document in the Appwrite Collection. | Example |
deleteDocument |
Delete Document in the Appwrite Collection. | Example |
getDocument |
Fetches the Document in the Appwrite Collection. | Example |
listDocument |
Retrives a list of Document in the Appwrite Collection. | Example |