mongodb-erlang
mongodb-erlang copied to clipboard
MongoDB driver for Erlang
How to ensure atomicity of multi-table updates? i hope you can tell me. thank you very much
When we shutdown one node of a replica set, the beam process consumes about 120%(multiple cores) CPU. After some debugging, we found when any node down, the mc_monitor:check will crash...
Should support bulk operations for updates/reads/deletes.
hi,i want to create a date type in Mongo,how do it
Example in README ``` Command = #{ => #{ => "rain gear" }}, mc_worker_api:update(Connection, Collection, #{'_id' => 100}, Command), ``` just replaces the element at the 1st position. What I...
Hello, I am using mongodb 4.0, and I found that this driver not support the new op code. Aggregate test get error also, we need add a cursor in selector....
This might be related to https://github.com/comtihon/mongodb-erlang/issues/208 but the discussion there lacks of context so I'm trying to open a new one here. My goal is to make sure that if...
Does this lib support autoreconnect to the mongodb. I was using this in emqttd_mongodb_auth plugin but i found that if mongodb is shutdown and restarted again library is not reconnecting...
mc_worker.erl init()-> ...... Error -> receive after 3000 -> ok end, %%add proc_lib:init_ack(Error) end.
It will be great to have a URI based connection option.