[SOLVED] how to choose a realtime database for a specific user by user id
- 0
- Resolved
- Flutter
- Web
how to implement this
Not sure I follow what you're asking for
You want a realtime connection to a database and for it to follow user permissions?
'databases.your_database_id.collections.user_subscriptions.documents.userId'
]);``` i want to subscribe a channel using user id something like this
That's not something you can do, you can subscribe to document update events and check for ones where document.userId == userId
ok, that means event will only trigger for perticular user if document secuty is enable right ?
Correct
thanks
[SOLVED] how to choose a realtime database for a specific user by user id
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...