[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
- 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...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...