Elastic::Model::TypeMap::Common - Type maps for commonly used types
version 0.51
Elastic::Model::TypeMap::Common provides mapping, inflation and deflation for commonly used types.
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' }.
isa => 'DateTime'
2012-01-01T01:01:01
{ type => 'date' }
Clinton Gormley <drtech@cpan.org>
This software is copyright (c) 2015 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.
To install Elastic::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Elastic::Model
CPAN shell
perl -MCPAN -e shell install Elastic::Model
For more information on module installation, please visit the detailed CPAN module installation guide.