{"repo":"zookzook/elixir-mongodb-driver","free":true,"listed":false,"github":"https://github.com/zookzook/elixir-mongodb-driver","clone":"git clone https://github.com/zookzook/elixir-mongodb-driver.git","description":"MongoDB driver for Elixir","language":"Elixir","stars":270,"topics":["elixir","mongodb","driver","bulk","change-streams","sessions","transactions"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"The Elixir Driver for MongoDB Features - supports MongoDB versions 4.x, 5.x, 6.x, 7.x, 8.x - connection pooling (through DBConnection 2.x) - streaming cursors - performant ObjectID generation - aggregation pipeline - replica sets - support for SCRAM-SHA-256 (MongoDB 4.x) - support for GridFS (See) - support for change streams api (See) - support for bulk writes (See) - support for driver sessions (See) - support for driver transactions (See) - support for command monitoring (See) - support for retryable reads (See) - support for retryable writes (See) - support for simple structs using the Mongo.Encoder protocol - support for complex and nested documents using the Mongo.Collection macros - support for streaming protocol (See) - support for migration scripts - support for compression for zlib and zstd (See) Usage Installation Add mongodb driver to your mix.exs deps . Then run mix deps.get to fetch dependencies. Simple Connection to MongoDB To specify a username and password, use the :username , :password , and :auth source options. For secure requests, you may need to add some more options; see the \"AWS, TLS and Erlang SSL ciphers\" section below. Failing operations return a {:error, error} tuple where error is a Mongo.Error object: Examples Find Using $and Using $or Using $in How to use the Mongo.Stream ? Most query functions return a Mongo.Stream struct that implements the Enumerable protocol. The module checks out the session and streams the batches from the server until the","default_branch":null,"files":null,"tree":[],"storefront":"/r/zookzook","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zookzook/elixir-mongodb-driver/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."}