Closed
Description
For testing purpose, I regularly want to reset the database content with mongorestore
(parse-server
is shut down while running that command). After the reset I run some code which creates a new class. Then, when I repeat the process -- reset the db, run the code again -- something weird happens: Parse seems to remember that class's instances from the previous run and recreates them. So with every run, I get more instances.
Again in short:
- reset mongodb
- create new class, add instance A
- reset mongodb again
- create new class, add instance B
- now Parse contains instances A and B!
Can this be explained, or is it a bug?
Metadata
Metadata
Assignees
Labels
No labels