Hi, I 've connected for tests to my mariadb database and try some updates on collections. Documents have been updated correctly. But when I call Appwrite getDocument(), I get old data. Is it safe operation, doing update directly in database?
Appwrite isn't compatible with mongo
sorry, I mean MariaDb:)
Update documents from MariaDb database
Are you sure you save your modification on mariadb ? I just try and it works
It's not safe while it'll not trigger events, not count as "Usage" etc..
NB: I can reproduce. Appwrite manage cache via redis
I need to delete cache to see update
How can I delete cache?
You need to connect to redis
Reatarting appwrite could clean cache, but not sure
Doesn't seem like a good idea modifying that with appwrite running (cold result in corruption)
docker exec appwrite-redis redis-cli FLUSHALL Should works too. It clear all cache
Yes. It helps. Thanks!
Keep in mind redis is used to queue events so if any events were still queued, they would be wiped.
[SOLVED] Update documents from MariaDb database
Recommended threads
- 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...
- Use Limits
I need urgent help, i use appwrite as a chat function for my website and my mobile android application, but recently, for the past 3 months, my database reaches...
- Method EQUAL not wrking in REST API Quer...
Request: ``` postman request 'https://nyc.cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/rows?queries[]={%22method%22%3A%22select%22%2C%22values%2...