mongodb-erlang
mongodb-erlang copied to clipboard
MongoDB driver for Erlang
I did this ``` {ok, Connection} = mc_worker_api:connect([{database, Database}, {host, "10.0.0.0"}, {port, 27017}, {login, }, {password, }]), ``` Got this ``` 2017-12-11 19:41:03.458 [error] CRASH REPORT Process with 0 neighbours...
mongodb office command lilke below: db.runCommand( { geoNear: , near: { type: "Point" , coordinates: [ ] } , spherical: true, ... } ) http://docs.mongodb.org/manual/reference/command/geoNear/ how to do the same...
Should support bulk operations for updates/reads/deletes. Either through a [Bulk](https://docs.mongodb.com/manual/reference/method/Bulk/) object, or through collection.[bulkWrite](https://docs.mongodb.com/manual/reference/method/db.collection.bulkWrite/) interface.
[ { name, Name }, % Name should be used for mongoc pool to be registered with { register, Name }, % Name should be used for mongoc topology process...
I use mongodb_topology_pool to pool my mongodb's request, but I found out that if the mongodb is shutdown, the monogo_topology_pool will have no ability to reconnect and so I have...
Noticed a spec violation while reading through the source: https://github.com/comtihon/mongodb-erlang/blob/master/src/mongoc/mc_monitor.erl#L63 - This line violates the following part of the spec ("This value MUST be 500 ms, and it MUST NOT...
I am new to Elixir/Erlang so please excuse me if this question is stupid... I am trying to use this driver from within Elixir, and am connecting to a MongoDB...
Hi, I have been trying to install mongodb-erlang on rhel 7.2 on ppc64le execution of make command results in the following error **/usr/bin/env: escript: No such file or directory make:...
I would like to create an index as documented here: https://docs.mongodb.org/manual/tutorial/build-a-2dsphere-index/ From the docs of this driver I see the ensure_index functions but I can't understand how to use it...