DBIx::Result::Convert::JSONSchema::Type::MySQL - Mapping of MySQL field type to JSON property type
0.01
use DBIx::Result::Convert::JSONSchema::Type::MySQL; my $type_map = DBIx::Result::Convert::JSONSchema::Type::MySQL->get_type_map;
This module defines mapping between DBIx MySQL field types to JSON schema property types.
get_type_map
Return mapping of DBIx::Class:Result field name => JSON Schema field name.
# { decimal => 'number', time => 'string', ... } my $map = DBIx::Result::Convert::Type::MySQL->get_type_map;
Valters Skrupskis - valters.skrupskis@humanstate.com
valters.skrupskis@humanstate.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation or file a bug report then please raise an issue / pull request:
https://github.com/Humanstate/p5-dbix-result-convert-jsonschema
To install DBIx::Result::Convert::JSONSchema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Result::Convert::JSONSchema
CPAN shell
perl -MCPAN -e shell install DBIx::Result::Convert::JSONSchema
For more information on module installation, please visit the detailed CPAN module installation guide.