[SOLVED] Unable to update document as expected in realtime, but able to get my documents in realtime
- 1
- Databases
- Realtime
- Web
What do you mean? Maybe you can share a video of what's going on?
@Steven then what's the ryt way if I could know
@Steven Sure
The mutation should only execute based on the submission
@Steven i don't know how to use mutation here , will there be any conflict with the websocket connection i meant realtime , idk
I think you need to use a mutation.
I'm not even sure why you have realtime
@Steven it's not needed ryt even i thought so,
Then what's the ryt way and use case of realtime ??? If I could know
@Steven then lemme get rid of realtime and use mutation
And comeback :appwritepeepo:
Realtime is needed if you need to know if something updated due to some other event. For example, a chat room where someone else sent a message
@Steven thnk u boss 🫡
Any pitfalls to be aware of while using mutation?? Sorry for such a question
Make sure to invalidate the right key
@Steven okiee
@Steven everything works perfectly , and thnx a lot for assisting me
[SOLVED] Unable to update document as expected in realtime, but able to get my documents in realtime
@Berserker please help me i have dm you please check
@bharath try asking it here itself so that you can get more support from others as well
no one is responding prope
@bharath go ahead and ask ur question
And try asking your question with proper details
ok. i asked you because the problem you have got is similar to my problem
@bharath i will share u my code itself then
@bharath give me some time
Ok
@bharath
Recommended threads
- general_unauthorized_scope
localhost oauth not working. general_unauthorized_scope error showing. { "message": "User (role: guests) missing scopes ([\"account\"])", "code": 401, ...
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...
- Database error validating 'min' and 'max...
I keep seeing an error when I try to add a column to a database table within the AppWrite cloud UI. I also see this error when trying to create or update a reco...