
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
- CSV Not Importing
We don’t seem to having any luck importing a simple .csv file. The import function acts like it’s working but no data imports or is shown in the collection The...
- There is ui Problem in the Display name
in Display name i have selected buy mistake but when its update that time document get blank and also when i remove at that time also not removing and data is s...
- Database is not working
The database is not working plz check and fix this, tnq
