The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Table::TestDataGenerator::DataType - handles SQL data types

DESCRIPTION

Collects methods used internally to handle the diverse SQL data types.

SUBROUTINES/METHODS

is_text

Argument: The DBIx::Class::ResultSource column_info method returns a hash describing a particular "table" column. is_text expects one of the possible values corresponding to the key "data_type" of such a hash.

The method returns a truish value if the passed in column type name is a string data type.

AUTHOR

Jose Diaz Seng, <josediazseng at gmx.de>

COPYRIGHT AND LICENSE

Copyright (C) 2012-2013, Jose Diaz Seng.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.