node-mongodb-fixtures icon indicating copy to clipboard operation
node-mongodb-fixtures copied to clipboard

The unload drops all docs in my collections

Open YousimDev opened this issue 4 years ago • 1 comments

Hi,

Is it possible to drop only the documents that are declared in the fixtures and keep the documents that are already present in the database (created by other means)

Thanks :-)

YousimDev avatar Dec 02 '20 13:12 YousimDev

it is not currently possible, however, if you are interested in providing the feature, we gladly welcome PRs

cdimascio avatar Dec 25 '20 16:12 cdimascio