Crates.io | mongodb-base-service |
lib.rs | mongodb-base-service |
version | 0.5.1 |
source | src |
created_at | 2020-04-24 18:48:06.692309 |
updated_at | 2020-09-10 15:44:32.777909 |
description | A simple Rust service wrapper to simplify finds, updates, deletes |
homepage | |
repository | https://github.com/briandeboer/mongodb-base-service |
max_upload_size | |
id | 233750 |
size | 41,939 |
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.
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.