Class | ColumnInfo |
In: |
lib/dbi/columninfo.rb
|
Parent: | Object |
$Id: columninfo.rb,v 1.1 2001/08/30 13:31:11 michael Exp $
by Michael Neumann (neumann@s-direktnet.de)
nullable | -> | nullable? |
nullable | -> | is_nullable? |
indexed | -> | indexed? |
indexed | -> | is_indexed? |
primary | -> | primary? |
primary | -> | is_primary? |
unique | -> | unique? |
unique | -> | is_unique |
precision | -> | size |
precision= | -> | size= |
precision | -> | length |
precision= | -> | length= |
scale | -> | decimal_digits |
scale= | -> | decimal_digits= |
to let a ColumnInfo behave like a Hash (TODO: remove in later versions? only for compat. issues)