I cant seem to figure out why all my data is getting deleted from the database, meanwhile i am only trying to delete only one. using mongoengine ODM
I am using the mongoengine ODM to build an API, And here is my isssue. I have tried everything i can to make this endpoint to delete just one user, but its ends up deleting every user in the database. i set the username to be unique in the schema, but it keeps getting deleted.