José Diaz Seng > DBIx-Table-TestDataGenerator-0.005 > DBIx::Table::TestDataGenerator::DataType

Download:
DBIx-Table-TestDataGenerator-0.005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.005   Source  

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.

syntax highlighting: