Morphia 1.2.2
A Fantom to MongoDB object mapping library

Morphia is a Fantom to MongoDB object mapping library.

Morphia is an extension to the Mongo library that maps Fantom objects and their fields to and from MongoDB collections and documents.

Morphia features include:

  • All Fantom literals and BSON types supported by default,
  • Support for embedded / nested Fantom objects,
  • Extensible mapping - add custom Fantom <-> Mongo converters,
  • Query Builder API.

Note: Morphia has no association with Morphia - the Java to MongoDB mapping library. Well, except for the name of course!

Read more...

Install

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

Or to install Morphia 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.

afMorphia.pod (104.78 kB)

Use

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

depends = ["sys 1.0", ..., "afMorphia 1.2.2 - 1.2"]

Documentation

Information

Meta information on the Morphia pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
104.78 kB
Licence
ISC Licence
Built on
7th Feb 2018
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afmorphia
Depends on
afBeanUtils, afBson, afConcurrent, afIoc, afIocConfig, afMongo, concurrent, sys
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 23 releases of Morphia: