Mongodb v0.1.0

Modules summary

BSON

Functions for encoding and decoding BSON documents

BSON.Binary

Represents BSON binary type

BSON.DateTime

Represents BSON DateTime type

BSON.JavaScript

Represents BSON JavaScript (with and without scope) types

BSON.ObjectId

Represents BSON ObjectId type

BSON.Regex

Represents BSON Regex type

BSON.Timestamp

Represents BSON Timestamp type

Mongo

The main entry point for doing queries. All functions take a pool to run the query on

Mongo.Connection

A connection process to a MongoDB server

Mongo.DeleteResult

The successful result struct of Mongo.delete_one/4 and Mongo.delete_many/4. Its fields are:

Mongo.InsertManyResult

The successful result struct of Mongo.insert_many/4. Its fields are:

Mongo.InsertOneResult

The successful result struct of Mongo.insert_one/4. Its fields are:

Mongo.PBKDF2

PBKDF2 implements PBKDF2 (Password-Based Key Derivation Function 2), part of PKCS #5 v2.0 (Password-Based Cryptography Specification). It can be used to derive a number of keys for various purposes from a given secret. This lets applications have a single secure secret, but avoid reusing that key in multiple incompatible contexts. see http://tools.ietf.org/html/rfc2898#section-5.2

Mongo.Pool

Defines a pool of MongoDB connections

Mongo.Pool.Adapter

The driver supports multiple pooling strategies as long as they implement the following interface

Mongo.Pool.Poolboy

poolboy implementation of Mongo.Pool.Adapter

Mongo.SaveManyResult

The successful result struct of Mongo.save_many/4. Its fields are:

Mongo.SaveOneResult

The successful result struct of Mongo.save_one/4. Its fields are:

Mongo.UpdateResult

The successful result struct of Mongo.update_one/5, Mongo.update_many/5 and Mongo.replace_one/5. Its fields are:

Exceptions summary

Mongo.Error