This service is a wrapper around the official Python SDK for MongoDB.
# Storyscript
result = mongodb insert db: "test" coll: "my_coll" doc: {"foo": "bar"}
# Do something with result._id
# You can also specify the arguments sort and fields (projection) below.
result = mongodb find db: "test" coll: "my_coll" query: {}
result = mongodb find_one db: "test" coll: "my_coll" query: {}
This is a WIP service, and as such, only a few APIs from the MongoDB SDK have been exposed.
PRs are welcome.
The following APIs are yet to be implemented:
Content type
Image
Digest
Size
33.5 MB
Last updated
about 8 years ago
docker pull microservices/mongodb