{"repo":"comtihon/mongodb-erlang","free":true,"listed":false,"github":"https://github.com/comtihon/mongodb-erlang","clone":"git clone https://github.com/comtihon/mongodb-erlang.git","description":"MongoDB driver for Erlang","language":"Erlang","stars":349,"topics":["erlang","mongodb"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"This is the MongoDB driver for Erlang. Usage Add this repo as the dependency: Rebar {deps, [ {mongodb, \". \", {git, \"git://github.com/comtihon/mongodb-erlang\", {tag, \" \"}}} ] } Erlang.mk DEPS = mongodb dep mongodb = git https://github.com/comtihon/mongodb-erlang.git Where Latest tag is the latest tag from github. Installing If you want to use it from command line - download and compile the application: $ git clone git://github.com/comtihon/mongodb-erlang.git mongodb $ cd mongodb $ make You will need erlang 18+ and make installed. Starting and using the api Start all applications, needed by mongodb application:ensure all started (mongodb). Important : mongoc API was changed in 3.0.0 . mc cursor API was changed in 3.0.0. This driver has two api modules - mc worker api and mongo api . mc worker api works directly with one connection, while all mongo api interfaces refer to mongoc pool. Although mongoc is not stable for now you should use it if you have shard and need to determine mongo topology. If you are choosing between using mongos and using mongo shard with mongo api - prefer mongos and use mc worker api . In MongoDB 3.6, the OP MSG and OP COMPRESSED opcodes were added to the wired message protocol. OP MSG was added to standardize the MongoDB message format, and OP COMPRESSED takes things a step further by compressing the message to increase network efficiency. As of MongoDB 5.1, the old opcodes were deprecated, and all messages are sent with either OP MSG or OP COMPRESSED .","default_branch":null,"files":null,"tree":[],"storefront":"/r/comtihon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/comtihon/mongodb-erlang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}