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 Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...