
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
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- REQUEST FAILED IN MIGRATION
I was trying to moved my archived project to a self-host database . Though the Project is "read only" but there's a message that I can view and migrate data to...
