Insights🐛 Bug Report: Missing Tables API Methods in React Native SDK
- 0
- 1
- Databases
- React Native
- Cloud
Hi. First time appwrite user. i'm building a new mobile app with react-native & expo and decided to use appwrite as a tech for this app. i found the react-native sdk through the official youtube video. over the weekend when started defining database logic, i came up with lots of tables to create and i noticed it's a pain to manually create all these in the UI(tables, attributes, indexes, permissions etc). I was considering using the node sdk before watching the video. I already created a table in the ui. The AI feature helped generating most of its attributes, couldn't complete because of the text limit. And just today, i found out there's an api to create table and attributes but some of its object are missing in the react-native ask but present in node's sdk. I created an issue at https://github.com/appwrite/sdk-for-react-native/issues/79. Please kindly do something about it for me. i've been delayed for two days because of it. I might consider going with tech i'm familiar with if nothing is done
Thanks
tables.listTables(), tables.createTable(), tables.listColumns() these are server side methods. Personally I don't think these should be available on the client side.
Why do you need developer level api on a client side app?
It’s not to use them directly in the app but to be used in a script during development to generate the required tables.
Use a the serverside code in a normal js file with the node-appwrite sdk It should work.
I’ll do that. I’ll define the logic in a separate file and run them locally. I use bun so it’ll make it convenient to run these scripts without any extra gimmicks
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...