{"repo":"elbywan/cryomongo","free":true,"listed":false,"github":"https://github.com/elbywan/cryomongo","clone":"git clone https://github.com/elbywan/cryomongo.git","description":"A MongoDB driver written in pure Crystal. ❄️","language":"Crystal","stars":77,"topics":["mongodb","crystal","mongo","mongodb-driver"],"license":"MIT","category":"data-pipelines","readme_excerpt":"cryomongo A MongoDB driver written in pure Crystal. Cryomongo is a high-performance MongoDB driver written in pure Crystal. (i.e. no C dependencies needed.) Compatible with MongoDB 3.6+. Tested against: 4.2. ⚠️ BETA state. If you are looking for a higher-level object-document mapper library, you might want to check out the moongoon shard. Installation 1. Add the dependency to your shard.yml : 2. Run shards install Usage Minimal working example Complex example with serialization Features - CRUD operations - Aggregation (except: Map-Reduce) - Bulk - Read and Write Concerns - Read Preference - Authentication (only: SCRAM mechanisms) - TLS encryption - Indexes - GridFS - Change Streams - Admin/Diagnostic commands - Tailable and Awaitable cursors - Collation - Standalone, Sharded or ReplicaSet topologies - Command monitoring - Retryable reads and writes - Causal consistency - Transactions Conventions - Methods and arguments names are in snake case . - Object arguments can usually be passed as a NamedTuple , Hash , BSON::Serializable or a BSON instance. Documentation The generated API documentation is available here. Connection Links - Mongo::Client - Mongo::Options Authentication Cryomongo only supports the SCRAM-SHA1 and SCRAM-SHA256 authentication methods without SASLprep. Basic operations Links - Mongo::Collection - Mongo::Database Bulk operations Links - Mongo::Bulk Indexes Links - Mongo::Collection GridFS Links - Mongo::GridFS::Bucket Change streams Links - Mongo::ChangeStrea","default_branch":null,"files":null,"tree":[],"storefront":"/r/elbywan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elbywan/cryomongo/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."}