Please mark this post as SOLVED or CLOSED if no further help is needed.
Hi, I will once done
@Binyamin
hey, I needed some clarification
if you are available
please feel free to post your doubts
``
final sunscription = _realtime.subscribe([
'databases.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatsCollection}.documents.'
]);
hi how can I look for a particular field inside this document?
When you get the event, you'll get the document.
final realtime = Realtime(client);
final subscription = realtime.subscribe(['databases.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatsCollection}.documents']);
subscription.stream.listen((response) {
final doc = response.payload;
print(doc);
});
@Binyamin brother would please have a look at my project?
What part?
Can you share it here?
3 4 file spaning files
i mean code is spread accress 3 4 files
@Binyamin
final sunscription = _realtime.subscribe([
'databases.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatsCollection}.documents.'
]);
inside of this
You can send all thale parts
I'll be able to check on them later
'databases.${AppwriteConstants.databaseId}.collections.${AppwriteConstants.chatsCollection}.documents.' I want to perforn .contains('conversationId')
You don't need the . at the end
okay, but I want to only get the documents that contains a particular value
Recommended threads
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...