GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Alzabo::Create::ColumnDefinition(3) User Contributed Perl Documentation Alzabo::Create::ColumnDefinition(3)

Alzabo::Create::ColumnDefinition - Column definition object for schema creation

  use Alzabo::Create::ColumnDefinition;

This object holds information on a column that might need to be shared with another column. The reason this class exists is that if a column is a key in two or more tables, then some of the information related to that column should change automatically in multiple places whenever it changes at all. Right now this is only type ('VARCHAR', 'NUMBER', etc) and length/precision information. This object also has an 'owner', which is the column which created it.

"Alzabo::ColumnDefinition"

Note: all relevant documentation from the superclass has been merged into this document.

This method takes the following parameters:
  • owner => "Alzabo::Create::ColumnDefinition" object
  • type => $type

It returns a new "Alzabo::Create::ColumnDefinition" object.

See the "Alzabo::Column->alter()" method for details.

Returns the object's type as a string.

Sets the object's type.

Throws: "Alzabo::Exception::Params", "Alzabo::Exception::RDBMSRules"

Returns the length attribute of the column, or undef if there is none.

Returns the precision attribute of the column, or undef if there is none.

This method takes the following parameters:
  • length => $length
  • precision => $precision (optional)

Sets the column's length and precision. The precision parameter is optional (though some column types may require it if the length is set).

Throws: "Alzabo::Exception::Params", "Alzabo::Exception::RDBMSRules"

Returns the "Alzabo::Create::Column" object that owns this definitions (the column that created it).
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.