Mongo 1.0.10
A pure Fantom driver for MongoDB

Mongo is a pure Fantom driver for MongoDB.

Mongo driver features:

  • Compatible with MongoDB v2.6 / v3.0 / v3.2+
  • Standard and capped collections
  • Write commands: insert(), update(), delete() and findAndModify()
  • Write concern support
  • Optimised queries for findOne() and findAll()
  • Cursor support
  • Aggregation commands: aggregate(), distinct(), group() and mapReduce()
  • Index support: create(), ensure() and drop()
  • User support: create(), drop(), grant() and revoke() roles
  • Database authentication
  • Server side eval() commands
  • Pooled connection manager for multi-threaded use
  • Support for Replica Set connection URLs

Mongo driver has been written specifically for MongoDB v2.6.0 or newer.

ALIEN-AID: See Morphia for a complete Fantom to MongoDB object mapping library!

Read more...

Install

To install Mongo with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Mongo with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afMongo.pod (135.80 kB)

Use

To use Mongo in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afMongo 1.0.10 - 1.0"]

Documentation

Information

Meta information on the Mongo pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
135.80 kB
Licence
ISC Licence (ISC)
Built on
19th Sep 2016
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afmongo
Depends on
afBson, afConcurrent, concurrent, inet, sys, util
Referenced by
afEggbox
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 16 releases of Mongo: