12 releases (4 breaking)
0.5.1 | Sep 10, 2020 |
---|---|
0.4.4 | Aug 12, 2020 |
0.4.3 | Jul 15, 2020 |
#2771 in Database interfaces
55 downloads per month
Used in graphql-mongodb-boilerpla…
42KB
1K
SLoC
MongoDB base service
This provides a simple wrapper of MongoDB to assist with creating/updating/etc.. especially when some things are embedded documents. Docs are still TBD but look at graphql-mongodb-boilerplate for an example of how to use.
Note - deprecated from 0.2.x
The return from the insert methods (insert_one, insert_many and insert_embedded) all return ids instead of the full objects now. Please do a find after if you need the full object.
Dependencies
~31MB
~715K SLoC