I have data in sqlite, mongodb and json formats, I want to upload them to my appwrite server and use them. What should I do?
it's a dictionary and i want to use it in my project
Using any of these types will suffice.
JSON format should be great 😇 You can use createDocument endpoint. Document is like row in SQL world. Make sure to create a database and collection (like a table) first.
I also highly recommend setting up attributes (like columns) for every key you have in the JSON. doing that will let you query your data really quick and easy in future.
First you setup a NodeJS server with API key (https://appwrite.io/docs/getting-started-for-server)
Or python, java, or any other server language you like Then you use create document method: https://appwrite.io/docs/server/databases?sdk=nodejs-default#databasesCreateDocument You do that for each item in your JSON export
very thanks
Recommended threads
- Query multi-tenant db with $permissions ...
I'm setting up a multi-tenant database with RLS enabled. My users my have permissions set for multiple Teams, and as such when they query the database with the ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...