[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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...