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
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...