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-react-native/releases).**
9
+
**This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-react-native/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 React Native 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": "react-native-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
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -315,11 +315,12 @@ export class Databases extends Service {
315
315
* @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.
316
316
* @param {string} params.transactionId - Transaction ID to read uncommitted changes within the transaction.
317
317
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
318
+
* @param {number} params.ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
318
319
* @throws {AppwriteException}
319
320
* @returns {Promise}
320
321
* @deprecated This API has been deprecated since 1.8.0. Please use `TablesDB.listRows` instead.
* Get a list of all the user's documents in a given collection. You can use the query params to filter your results.
325
326
*
@@ -328,26 +329,28 @@ export class Databases extends Service {
328
329
* @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.
329
330
* @param {string} transactionId - Transaction ID to read uncommitted changes within the transaction.
330
331
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
332
+
* @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
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -315,10 +315,11 @@ export class TablesDB extends Service {
315
315
* @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.
316
316
* @param {string} params.transactionId - Transaction ID to read uncommitted changes within the transaction.
317
317
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
318
+
* @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.
324
325
*
@@ -327,26 +328,28 @@ export class TablesDB extends Service {
327
328
* @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.
328
329
* @param {string} transactionId - Transaction ID to read uncommitted changes within the transaction.
329
330
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
331
+
* @param {number} ttl - TTL (seconds) for cached responses when caching is enabled for select queries. Must be between 0 and 86400 (24 hours).
330
332
* @throws {AppwriteException}
331
333
* @returns {Promise<Models.RowList<Row>>}
332
334
* @deprecated Use the object parameter style method for a better developer experience.
Copy file name to clipboardExpand all lines: src/services/teams.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -371,7 +371,7 @@ export class Teams extends Service {
371
371
*
372
372
*
373
373
* @param {string} params.teamId - Team ID.
374
-
* @param {string[]} params.roles - Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
374
+
* @param {string[]} params.roles - Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
375
375
* @param {string} params.email - Email of the new team member.
376
376
* @param {string} params.userId - ID of the user to be added to a team.
377
377
* @param {string} params.phone - Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
@@ -392,7 +392,7 @@ export class Teams extends Service {
392
392
*
393
393
*
394
394
* @param {string} teamId - Team ID.
395
-
* @param {string[]} roles - Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
395
+
* @param {string[]} roles - Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
396
396
* @param {string} email - Email of the new team member.
397
397
* @param {string} userId - ID of the user to be added to a team.
398
398
* @param {string} phone - Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
@@ -531,7 +531,7 @@ export class Teams extends Service {
* @param {string[]} params.roles - An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
534
+
* @param {string[]} params.roles - An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
535
535
* @throws {AppwriteException}
536
536
* @returns {Promise}
537
537
*/
@@ -542,7 +542,7 @@ export class Teams extends Service {
542
542
*
543
543
* @param {string} teamId - Team ID.
544
544
* @param {string} membershipId - Membership ID.
545
-
* @param {string[]} roles - An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 32 characters long.
545
+
* @param {string[]} roles - An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https://appwrite.io/docs/permissions). Maximum of 100 roles are allowed, each 81 characters long.
546
546
* @throws {AppwriteException}
547
547
* @returns {Promise<Models.Membership>}
548
548
* @deprecated Use the object parameter style method for a better developer experience.
0 commit comments