You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Appwrite C++ SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example.
Copy file name to clipboardExpand all lines: docs/Databases.md
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ Works around with Databases in Appwrite
9
9
|`get()`| Fetches the database from the Appwrite project using the unique database ID. |[Example](/examples/database/getDatabase.cpp)|
10
10
|`list()`| Retrieves a list of all databases in the Appwrite project. |[Example](/examples/database/listDatabase.cpp)|
11
11
|`update()`| Updates a databases details in the Appwrite project. |[Example](/examples/database/updateDatabase.cpp)|
12
+
|`getDatabaseUsage()`| Fetches databases Usage details in the Appwrite project. |[Example](/examples/database/getDatabaseUsage.cpp)|
13
+
|`getCollectionUsage()`| Fetches collection Usage details in the Appwrite project. |[Example](/examples/database/getCollectionUsage.cpp)|
12
14
13
15
14
16
### Collections
@@ -36,10 +38,25 @@ Works around with Databases in Appwrite
36
38
|`updateFloatAttribute()`| Updates Float Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/updateFloatAttribute.cpp)|
37
39
|`createIntegerAttribute()`| Create Integer Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/createIntegerAttribute.cpp)|
38
40
|`updateIntegerAttribute()`| Update Integer Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/updateIntegerAttribute.cpp)|
41
+
|`createIPaddressAttribute()`| Create IP Address Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/createIPaddressAttribute.cpp)|
42
+
|`updateIPaddressAttribute()`| Update IP Address Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/updateIPaddressAttribute.cpp)|
43
+
|`createStringAttribute()`| Create String Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/createStringAttribute.cpp)|
44
+
|`updateStringAttribute()`| Update String Attribute in the database in the Appwrite project |[Example](/examples/database/collection/attribute/updateStringAttribute.cpp)|
|`listIndexes()`| List all Indexes from the Collection in the database in the Appwrite project |[Example](/examples/database/collection/indexes/listIndexes.cpp)|
51
+
|`createIndex()`| Create Indexes in the Collection in the Appwrite project |[Example](/examples/database/collection/indexes/createIndex.cpp)|
52
+
|`getIndex()`| Fetch Indexes in the Collection in the Appwrite project |[Example](/examples/database/collection/indexes/getIndex.cpp)|
53
+
|`deleteIndex()`| Delete Indexes in the Collection in the Appwrite project |[Example](/examples/database/collection/indexes/deleteIndex.cpp)|
Copy file name to clipboardExpand all lines: docs/Health.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,3 +10,16 @@ Works around with Health Checks in Appwrite
10
10
|`getCache()`| Fetches the cache status in the Appwrite project. |[Example](/examples/health/getCache.cpp)|
11
11
|`getDB()`| Fetches the DB in the Appwrite project. |[Example](/examples/health/getDB.cpp)|
12
12
|`getPubSub()`| Fetches the PubSub status in the Appwrite project. |[Example](/examples/health/getPubSub.cpp)|
13
+
|`getStorage()`| Fetches the Storage status in the Appwrite project. |[Example](/examples/health/getStorage.cpp)|
14
+
|`getStorageLocal()`| Fetches the Local storage status in the Appwrite project. |[Example](/examples/health/getStorageLocal.cpp)|
15
+
|`getTime()`| Fetches the time status in the Appwrite project. |[Example](/examples/health/getTime.cpp)|
16
+
|`getQueue()`| Fetches the queue status in the Appwrite project. |[Example](/examples/health/getQueue.cpp)|
17
+
|`getCertificate()`| Fetches the certificate status in the Appwrite project. |[Example](/examples/health/params/getCertificate.cpp)|
18
+
|`getQueueMails()`| Fetches the queue mails status in the Appwrite project. |[Example](/examples/health/params/getQueueMails.cpp)|
19
+
|`getQueueCertificates()`| Fetches the Queue Certificates status in the Appwrite project. |[Example](/examples/health/params/getQueueCertificates.cpp)|
20
+
|`getQueueBuilds()`| Fetches the Queue Builds status in the Appwrite project. |[Example](/examples/health/params/getQueueBuilds.cpp)|
21
+
|`getQueueMessaging()`| Fetches the Queue Messaging status in the Appwrite project. |[Example](/examples/health/params/getQueueMessaging.cpp)|
22
+
|`getQueueMigrations()`| Fetches the Queue Migrations status in the Appwrite project. |[Example](/examples/health/params/getQueueMigrations.cpp)|
23
+
|`getQueueFunctions()`| Fetches the Queue Functions status in the Appwrite project. |[Example](/examples/health/params/getQueueFunctions.cpp)|
24
+
|`getQueueUsageWebhooks()`| Fetches the Queue Usage Webhooks status in the Appwrite project. |[Example](/examples/health/params/getQueueUsageWebhooks.cpp)|
25
+
|`getQueueUsageDump()`| Fetches the Queue Usage Dump status in the Appwrite project. |[Example](/examples/health/params/getQueueUsageDump.cpp)|
0 commit comments