Hello! When I delete a collection via dart sdk the current database will be deleted too, why is this happening? I don't have the code to delete the database. By
deleting the collection and document will also delete the database
This can happen if you're passing an empty string for the ID
Interestingly, after deleting the document, the collection will also be deleted.
No, that shouldn't happen
Thank you! You were right. I checked before executing, id is empty and not. After that everything was fine
How can I remove user rights via dart sdk on selected collection
What do you want to do?
I want to remove a specific user from permission lists via dart sdk
I tried to create a group and add selected users there. But when creating a group, an error appeared about this, I already wrote in another chat. So instead I created a collection for the group chat and added the group members as a permission that way. In principle, everything works except for deleting a specific user.
best to continue this in the other post
[SOLVED] The database is being deleted without my knowledge
Recommended threads
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- 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...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...