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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...