Mongo 1.1.6
A pure Fantom driver for MongoDB

Mongo is a pure Fantom driver for MongoDB v3.2+.

Mongo driver features:

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

Mongo driver has been written specifically for MongoDB v3.2 or newer.

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



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 (152.26 kB)


To use Mongo in a Fantom project, add a dependency to the project's

depends = ["sys 1.0", ..., "afMongo 1.1.6 - 1.1"]



Meta information on the Mongo pod:

Published by
Steve Eynon
Pod file size
152.26 kB
ISC Licence
Built on
21st Jan 2018
Source code
via Mercurial at
Depends on
afBson, afConcurrent, concurrent, inet, sys, util
Referenced by
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 13 releases of Mongo: