mongodb-erlang
mongodb-erlang copied to clipboard
MongoDB driver for Erlang
How to send "allowDiskUse:true" in mongo_api:aggregate? Without this my req is failed. -spec aggregate(atom() | pid(), collection(), bson:document(), integer()) -> {ok, cursor()} | []. aggregate(Topology, Collection, Pipeline, Batchsize) -> mongoc:transaction_query(Topology,...
I'm trying to do case insensitive queries. According to mongo's documentation, there is collation options for mongo version higher than 3.4. (see https://www.mongodb.com/docs/manual/reference/method/cursor.collation/) But I can't find a corresponding operation...
Should support the following operations, with the returnNewDocument option: - findOneAndDelete - findOneAndReplace - findOneAndUpdate See: https://docs.mongodb.com/manual/reference/command/findAndModify/
Can't find docs on how to use SSL in this library. How to?
Dialyzer should now (as of v3.0.2) be close to running clean, so now may be a good time to include it as part of the CI build.
**MongoDB 4.4.4 Community** **3 nodes** I have couple server - 1 - 5k requests to mongodb - 2 - about 15\20k requests to mongo when is use application on the...
I have setup a mongo cluster on mongo cloud (ATLAS) . ``` application:ensure_all_started (mongodb). Seed = { rs, , [ "xxxxx-shard-00-00-hbcsf.mongodb.net:27017", "xxxxx-shard-00-01-hbcsf.mongodb.net:27017", "xxxxx-shard-00-02-hbcsf.mongodb.net:27017"] }. TopologyOptions=[{name, },{register, xx_pool},{pool_size, 1},{ssl, true},{max_overflow, 10}]....
Hi, We've encountered an issue in which if we provide a list of seeds as ip addresses, the application will fail to start. I believe this is because mongo will...
Hi, when i use mongc:connect({rs, , [...]}, [...], [...]) connect to a mongodb cluster, i get a error like this, ** Generic server terminating ** Last message in was {'EXIT',,killed}...
It throws undefined function error ``` $ erl -pa ebin deps/*/ebin Erlang R16B (erts-5.10.1) [source-05f1189] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.1 (abort with ^G) 1> application:start(bson). ok 2> application:start(mongodb)....