Monger 3.1.0-SNAPSHOT

Monger is a Clojure MongoDB client for a more civilized age: friendly, flexible and with batteries included

Namespaces

monger.cache

clojure.core.cache implementation(s) on top of MongoDB.
   
Related documentation guide: http://clojuremongodb.info/articles/integration.html

monger.collection

Provides key functionality for interaction with MongoDB: inserting, querying, updating and deleting documents, performing Aggregation Framework
queries, creating and dropping indexes, creating collections and more.

monger.command

Provides convenience functions for performing most commonly used MongoDB commands.
For a lower-level API that gives maximum flexibility, see `monger.core/command`. To use
MongoDB 2.2 Aggregation Framework, see `monger.collection/aggregate`.

monger.constraints

Public variables and functions:

monger.conversion

Provides functions that convert between MongoDB Java driver classes (DBObject, DBList) and Clojure
data structures (maps, collections). Most of the time, application developers won't need to use these
functions directly because Monger Query DSL and many other functions convert documents to Clojure sequences and
maps automatically. However, this namespace is part of the public API and guaranteed to be stable between minor releases.

monger.core

Thin idiomatic wrapper around MongoDB Java client. monger.core includes
fundamental functions that perform database/replica set connection, set default write concern, default database, performing commands
and so on. Most of the functionality is in other monger.* namespaces, in particular monger.collection, monger.query and monger.gridfs

monger.credentials

Helper functions for instantiating various types
of credentials.

Public variables and functions:

monger.cursor

Helper-functions for dbCursor object: 
* to initialize new cursor, 
* for CRUD functionality of options of dbCursor

monger.db

Functions that provide operations on databases

Public variables and functions:

monger.gridfs

Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS,
finding stored files.

monger.joda-time

An optional convenience namespaces for applications that heavily use dates and would prefer use JodaTime types
transparently when storing and loading them from MongoDB and serializing to JSON and/or with Clojure reader.

Public variables and functions:

    monger.js

    Kept for backwards compatibility. Please use clojurewerkz.support.js from now on.

    Public variables and functions:

    monger.json

    Provides clojure.data.json/Write-JSON protocol extension for MongoDB-specific types, such as
    org.bson.types.ObjectId

    Public variables and functions:

      monger.operators

      Provides vars that represent various MongoDB operators, for example, $gt or $in or $regex.
      They can be passed in queries as strings but using vars from this namespace makes the code
      a bit cleaner and closer to what you would see in a MongoDB shell query.

      monger.query

      Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason).
      This is the most flexible and recommended way to query with Monger. Queries can be composed, like in Korma.

      monger.ragtime

      Ragtime integration

      Public variables and functions:

      monger.result

      Provides functions that determine if a query (or other database operation)
      was successful or not.

      Public variables and functions:

      monger.ring.session-store

      monger.util

      Provides various utility functions, primarily for working with document ids.

      Public variables and functions: