-
Notifications
You must be signed in to change notification settings - Fork 36
Description
👟 Reproduction steps
When I try to use the TablesDB
service in the React Native SDK, several methods available in the Node SDK are missing.
For example, tables.listTables()
, tables.createTable()
, tables.listColumns()
, and others do not exist in the React Native version.
Steps to reproduce:
- Install the latest React Native SDK (
@appwrite/sdk-react-native
). - Initialize
Client
and callnew TablesDB(client)
. - Attempt to access
tables.listTables()
or any column-related method. - Observe that these methods are undefined / missing in TypeScript definitions.
👍 Expected behavior
It should provide feature parity with the Node SDK, including all Tables and Columns API methods:
- Table CRUD (
listTables
,createTable
,updateTable
,deleteTable
, etc.) - Column management (
createBooleanColumn
,updateStringColumn
, etc.) - Index management (
createIndex
,listIndexes
, etc.) - Batch row operations (
createRows
,updateRows
, etc.)
👎 Actual Behavior
Only a subset of methods are implemented in the React Native SDK:
- Transactions and basic row operations (
listRows
,createRow
,updateRow
, etc.) - All table, column, and index management methods are missing.
💻 Comparison
Category | Node SDK | React Native SDK |
---|---|---|
Table CRUD | ✅ | ❌ |
Column CRUD | ✅ | ❌ |
Index CRUD | ✅ | ❌ |
Row CRUD | ✅ | ✅ |
Transaction | ✅ | ✅ |
🗒️ Notes
The missing methods prevent React Native apps from fully managing the new Appwrite Tables API.
Parity with the Node SDK would allow developers to perform full schema management from mobile clients or administrative tools built with React Native.
✅ Suggested fix
Add the missing methods to TablesDB
in sdk-for-react-native/src/services/tables-db.ts
to match the Node SDK implementation, or document their unavailability clearly in the SDK reference.
🎲 Appwrite version
Version 0.7.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct