A Mongo client for Clojure, lightly wrapping 3.11/4.0+ versions of the Java driver
Find a file
George Narroway e931d78bf0 0.2.0 release
2019-11-14 14:19:54 +08:00
.github/workflows Secrets 2019-11-14 10:39:58 +08:00
src/mongo_driver_3 Add some operators 2019-11-14 14:17:00 +08:00
test/mongo_driver_3 Index tests 2019-11-14 11:27:59 +08:00
.gitignore Initial commit 2019-11-14 10:01:38 +08:00
CHANGELOG.md 0.2.0 release 2019-11-14 14:19:54 +08:00
LICENSE Initial commit 2019-11-14 10:01:38 +08:00
project.clj 0.2.0 release 2019-11-14 14:19:54 +08:00
README.md Initial release 2019-11-14 11:41:18 +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 but the existing API is unlikely to break. 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.0"]

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

License

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