[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
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...