mongo alternatives and similar packages
Based on the "ORM and Datamapping" category.
Alternatively, view mongo alternatives based on common mentions on social networks and blogs.
-
paper_trail
Track and record all the changes in your database with Ecto. Revert back to anytime in history. -
ecto_psql_extras
Ecto PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of mongo or a related project?
Popular Comparisons
README
elixir-mongo
A MongoDB driver in Elixir.
API entirely reviewed, see CHANGELOG.md
Connecting
Example preparing access to the anycoll
collection in the test
db :
# Connect the mongo server (by default port 27017 at 127.0.0.1)
mongo = Mongo.connect!
# Select the db to access
db = mongo |> Mongo.db("test")
# Select the db to access
anycoll = db |> Mongo.Db.collection("anycoll")
Wrappers for CRUD operations
Examples accessing the anycoll
collection via CRUD operations see Mongo.Find
Wrappers for Aggregate operations
Example of aggregate operation applied to the anycoll
collection see Mongo.Collection
Other commands
# Authenticate against the db
db |> Mongo.auth("testuser", "123")`
# Retrieve the last error
db |> Mongo.getLastError
Documentation
Dependencies
- MongoDB needs a Bson encoder/decoder, this project uses the elixir-bson encoder/decoder. See elixir-bson source repo and its documentation