Changes for version 0.4 - 2011-01-11

  • Added the _attributes method to document objects (standalone/embedded)
  • Added the ParsedAttribute role and the ParsedAttribute::DateTime class for document attributes that are automatically expanded and collapsed by MongoDBx::Class
  • Added the Parsed attribute trait to allow setting document attributes that are parsed by ParsedAttribute classes
  • Fixed some POD mistakes in the docs
  • Improved the documentation a bit
  • insert and batch_insert shouldn't enforce only inserting hash-refs
  • Fixed bug in MongoDBx::Class::Collection->update where the wrong function argument was collapsed
  • Fixed bug in MongoDBx::Class::Collection->find_one where searching by string OID didn't work
  • Updated test suite with new features

Documentation

Tutorial for using MongoDBx::Class

Modules

Flexible ORM for MongoDB databases
A MongoDBx::Class collection object
A connection to a MongoDB server
A MongoDBx::Class cursor/iterator object for query results
A MongoDBx::Class database object
A MongoDBx::Class document role
A MongoDBx::Class embedded (sub-)document role
Attribute traits provided by MongoDBx::Class
Extends Moose with common relationships for MongoDBx::Class documents
A Moose role for automatically expanded and collapsed document attributes.
An automatic DateTime parser for MongoDBx::Class document classes
An embedded document representing a reference to a different document (thus establishing a relationship)

Provides

in lib/MongoDBx/Class/Meta/AttributeTraits.pm
in lib/MongoDBx/Class/Meta/AttributeTraits.pm