You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MongoDB is not a dedicated key-value store, but it's probably the most popular NoSQL database, so in many projects there's already a running instance, so instead of forcing developers in those projects to set up and administrate another database, it makes sense to utilize what's already there.
Instead of storing the value for the key, a wrapping type probably needs to be created which contains the key as _id and the value as value attribute. The type could be called KVpair, goKVpair or something similar.
There's no official Go SDK for MongoDB, but the official documentation recommends a fork of an open source project:
MongoDB is not a dedicated key-value store, but it's probably the most popular NoSQL database, so in many projects there's already a running instance, so instead of forcing developers in those projects to set up and administrate another database, it makes sense to utilize what's already there.
Instead of storing the value for the key, a wrapping type probably needs to be created which contains the key as
_id
and the value asvalue
attribute. The type could be calledKVpair
,goKVpair
or something similar.There's no official Go SDK for MongoDB, but the official documentation recommends a fork of an open source project:
The text was updated successfully, but these errors were encountered: