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
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-web/releases).**
9
+
**This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-web/releases).**
10
10
11
11
Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Web SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "appwrite",
3
3
"homepage": "https://appwrite.io/support",
4
4
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
Copy file name to clipboardExpand all lines: src/services/databases.ts
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -351,11 +351,12 @@ export class Databases {
351
351
* @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
352
352
* @param {string} params.transactionId - Transaction ID to read uncommitted changes within the transaction.
353
353
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
354
+
* @param {number} params.ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
* Get a list of all the user's documents in a given collection. You can use the query params to filter your results.
361
362
*
@@ -364,26 +365,28 @@ export class Databases {
364
365
* @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
365
366
* @param {string} transactionId - Transaction ID to read uncommitted changes within the transaction.
366
367
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
368
+
* @param {number} ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
Copy file name to clipboardExpand all lines: src/services/tables-db.ts
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -351,10 +351,11 @@ export class TablesDB {
351
351
* @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
352
352
* @param {string} params.transactionId - Transaction ID to read uncommitted changes within the transaction.
353
353
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
354
+
* @param {number} params.ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
* Get a list of all the user's rows in a given table. You can use the query params to filter your results.
360
361
*
@@ -363,26 +364,28 @@ export class TablesDB {
363
364
* @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.
364
365
* @param {string} transactionId - Transaction ID to read uncommitted changes within the transaction.
365
366
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
367
+
* @param {number} ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
366
368
* @throws {AppwriteException}
367
369
* @returns {Promise<Models.RowList<Row>>}
368
370
* @deprecated Use the object parameter style method for a better developer experience.
0 commit comments