A Mongo client for Clojure, lightly wrapping 3.11/4.0+ versions of the Java driver
Find a file
George Narroway e6d935c47e 0.3.0
2019-11-15 08:53:13 +08:00
.github/workflows Secrets 2019-11-14 10:39:58 +08:00
src/mongo_driver_3 add aggregate; update docs 2019-11-14 20:09:01 +08:00
test/mongo_driver_3 add aggregate; update docs 2019-11-14 20:09:01 +08:00
.gitignore Initial commit 2019-11-14 10:01:38 +08:00
CHANGELOG.md 0.3.0 2019-11-15 08:53:13 +08:00
LICENSE Initial commit 2019-11-14 10:01:38 +08:00
project.clj 0.3.0 2019-11-15 08:53:13 +08:00
README.md 0.3.0 2019-11-15 08:53:13 +08:00

mongo-driver-3

Clojars Project

A Mongo client for clojure, lightly wrapping 3.11+ versions of the MongoDB Java Driver

In general, it will feel familiar to users of mongo clients like monger. Like our HTTP/2 client hato, the API is designed to be idiomatic and to make common tasks convenient, whilst still allowing the underlying client to be configured via native Java objects.

It was developed with the following goals:

  • Up to date with the latest driver versions
  • Minimal layer that doesn't block any functionality
  • Consistent API across all functions
  • Configuration over macros
  • Simple

Status

mongo-driver-3 is under active development and the API may change. Please try it out and raise any issues you may find.

Usage

For Leinengen, add this to your project.clj:

;; The underlying driver -- any newer version can also be used
[org.mongodb/mongodb-driver-sync "3.11.2"]

;; This wrapper library
[mongo-driver-3 "0.3.0"]

License

Released under the MIT License: http://www.opensource.org/licenses/mit-license.php