
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
- Bug: When creating a table, table name i...
I created a table with a typo. my_taable .... then my code couldn't find it. i updated table name and still couldn't find it. the table name doesn't update. i h...
- unexpected row_invalid_structure error
In images you can see both my code,error, column schema I do have timezone in table schema but still while creating a row i am receving row_invalid_structure e...
- Internal 500 Server Error
I don't have much information but I am unable to create anything on database, Auth users are creating but not able to fetch into database
