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
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...