erlmongo icon indicating copy to clipboard operation
erlmongo copied to clipboard

Erlang driver for MongoDB with gridfs that works with maps and proplists

Results 8 erlmongo issues
Sort by recently updated
recently updated
newest added

Replace crypto:hmac functions according to Removals OTP document.

Before I used it, the driver (https://github.com/comtihon/mongodb-erlang) , but operator told me that it does not support mongo 4

makes the reconnect delay equal with the timeout delay too not sure what to do with the time set in ping https://github.com/Spoowy/erlmongo/blob/a49e1a69544862798e4bfbe386309e9e18f703fb/src/mongodb.erl#L829

mongoapi:runCmd([ {"aggregate", ?ORDER_TABLE}, {"cursor", #{ } }, {"pipeline", {array,[ [ {"$match", #{status=>0}} ], [ {"$group",[ {"_id","null"}, {"total", [{"$sum", "$amount"}]} ]} ] ]} } ], ?MONGO_MASTER), the query result is: [{,...

How to ensure atomicity of multi-table updates? i hope you can tell me.thank you very much

Hi. Please tell me how to make function" aggregate" Tnx.

Let there be a file on disk: /usr/local/.../094509-ac0c558a-6008-11e4-9a5d-e7ef2b7188c7.mp3 This file is uploaded using pymongo or using mongofiles. When I try to open it using erlmongo/gridfs using the following sequence: Db1...