githubmo / ReactiveMongo

Non-blocking, Reactive MongoDB Driver for Scala

Home Page:http://reactivemongo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactiveMongo

ReactiveMongo is a scala driver that provides fully non-blocking and asynchronous I/O operations.

Usage

In your project/Build.scala:

libraryDependencies ++= Seq(
  "org.reactivemongo" %% "reactivemongo" % "VERSION"
)

Maven Central

Build manually

To benefit from the latest improvements and fixes, you may want to compile ReactiveMongo from source. You will need a Git client and SBT.

From the shell, first checkout the source:

$ git clone git@github.com:ReactiveMongo/ReactiveMongo.git

Then go to the ReactiveMongo directory and launch the SBT build console:

$ cd ReactiveMongo
$ sbt
> +publish-local

Running tests:

In order to execute the unit and integration tests, SBT can be used as follows.

sbt "test-only -- exclude mongo2"

When running against MongoDB 2.6, the command must replace exclude mongo2 with exclude not_mongo26.

The test environement must be able to handle the maximum number of incoming connection for the MongoDB instance. This must be checked, and eventually updated, using ulimit -n.

Travis: Travis build status Test coverage

Learn More

Samples: These sample applications are kept up to date with the latest driver version. They are built upon Play 2.3.

About

Non-blocking, Reactive MongoDB Driver for Scala

http://reactivemongo.org

License:Apache License 2.0


Languages

Language:Scala 98.4%Language:Shell 1.1%Language:Java 0.5%