View Code? Open in Web Editor
NEW
This library makes integrating mongo db in your project easy.
License: MIT License
deno-mongo-repository's Introduction
- ๐ Hi, Iโm @0xVesion
- ๐ Iโm interested in Kafka, Kotlin and Go
- ๐ฑ Iโm currently learning the art of Vim
- ๐๏ธ Iโm looking to collaborate on interesting projects
- ๐ซ You can reach me on Twitter @VincentEngel_
deno-mongo-repository's People
Contributors
Stargazers
Watchers
deno-mongo-repository's Issues
src/mongo_repository.ts
To decide whether it should update a document, it does if(entity._id)
that seems odd as it should do a countById to see if it exists instead.
When I insert any new document with an _id
attribute it always goes to the update and fails.
Happy to create a PR just wanted to make sure I'm not missing anything here.