Clinton Gormley > Elastic-Model-0.27 > Elastic::Model::TypeMap::Common

Download:
Elastic-Model-0.27.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.27   Source   Latest Release: Elastic-Model-0.50

NAME ^

Elastic::Model::TypeMap::Common - Type maps for commonly used types

VERSION ^

version 0.27

DESCRIPTION ^

Elastic::Model::TypeMap::Common provides mapping, inflation and deflation for commonly used types.

TYPES ^

DateTime

Attributes with an isa => 'DateTime' constraint are deflated to ISO8601 format in UTC, eg 2012-01-01T01:01:01, and reinflated via "new" in DateTime. They are mapped as { type => 'date' }.

AUTHOR ^

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Clinton Gormley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: