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
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Fine grained permissions for webRTC hand...
Hi, I am building a WebRTC P2P app for a university project and have hit a security limitation regarding permissions for anonymous users. The Architecture: We ...
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...