DbFramework::DataType::ANSII - ANSII data type class
use DbFramework::DataType::ANSII; $dt = new DbFramework::DataType::ANSII($dm,$type,$ansii_type,$length); $name = $dt->name($name); $type = $type($type); $length = $dt->length($length); $extra = $dt->extra($extra); $ansii = $dt->ansii_type;
A DbFramework::DataType::ANSII object represents an ANSII data type.
DbFramework::DefinitionObject
Create a new DbFramework::DataType object. $dm is a DbFramework::DataModle object. $type is a numeric ANSII type e.g. a type contained in the array reference returned by $sth->{TYPE}. This method will die() unless $type is a member of the set of ANSII types supported by the DBI driver. $ansii_type is the same as $type. $length is the length of the data type.
If $name is supplied, sets the name of the ANSII data type. Returns the name of the data type.
If $type is supplied, sets the number of the ANSII data type. Returns the numeric data type.
Returns the same type as type().
If $length is supplied, sets the length of the data type. Returns the length of the data type.
If $extra is supplied, sets any extra information which applies to the data type e.g. AUTO_INCREMENT. Returns the extra information which applies to the data type.
Paul Sharpe <paul@miraclefish.com>
Copyright (c) 1999 Paul Sharpe. England. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DbFramework::Key, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DbFramework::Key
CPAN shell
perl -MCPAN -e shell install DbFramework::Key
For more information on module installation, please visit the detailed CPAN module installation guide.