From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/dbdef_column.html | 118 +++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 htdocs/docs/man/FS/dbdef_column.html (limited to 'htdocs/docs/man/FS/dbdef_column.html') diff --git a/htdocs/docs/man/FS/dbdef_column.html b/htdocs/docs/man/FS/dbdef_column.html new file mode 100644 index 000000000..c753b52f7 --- /dev/null +++ b/htdocs/docs/man/FS/dbdef_column.html @@ -0,0 +1,118 @@ + + +FS::dbdef_column - Column object + + + + + + + + + + +
+

+

NAME

+

+FS::dbdef_column - Column object + +

+


+

SYNOPSIS

+

+

  use FS::dbdef_column;
+
+

+

  $column_object = new FS::dbdef_column ( $name, $sql_type, '' );
+  $column_object = new FS::dbdef_column ( $name, $sql_type, 'NULL' );
+  $column_object = new FS::dbdef_column ( $name, $sql_type, '', $length );
+  $column_object = new FS::dbdef_column ( $name, $sql_type, 'NULL', $length );
+
+

+

  $name = $column_object->name;
+  $column_object->name ( 'name' );
+
+

+

  $name = $column_object->type;
+  $column_object->name ( 'sql_type' );
+
+

+

  $name = $column_object->null;
+  $column_object->name ( 'NOT NULL' );
+
+

+

  $name = $column_object->length;
+  $column_object->name ( $length );
+
+

+

  $sql_line = $column->line;
+  $sql_line = $column->line $datasrc;
+
+

+


+

DESCRIPTION

+

+FS::dbdef::column objects represend columns in tables (see FS::dbdef_table). + +

+


+

METHODS

+
+
new
+

+Creates a new FS::dbdef_column object. + +

name
+

+Returns or sets the column name. + +

type
+

+Returns or sets the column type. + +

null
+

+Returns or sets the column null flag. + +

type
+

+Returns or sets the column length. + +

line [ $datasrc ]
+

+Returns an SQL column definition. + +

+If passed a DBI $datasrc specifying DBD::mysql or DBD::Pg, will use engine-specific syntax. + +

+

+


+

BUGS

+

+


+

SEE ALSO

+

+FS::dbdef_table, FS::dbdef, DBI + + + +

+


+

VERSION

+

+$Id: dbdef_column.html,v 1.1 1999-08-04 12:13:27 ivan Exp $ + + + + -- cgit v1.2.1