PHP 클래스 Horde_Db_Adapter_Oracle_TableDefinition, horde

저자: Jan Schneider ([email protected])
상속: extends Horde_Db_Adapter_Base_TableDefinition
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_createTrigger

공개 메소드들

메소드 설명
column ( $name, string $type, array $options = [] ) : Horde_Db_Adapter_Base_TableDefinition Adds a new column to the table definition.
end ( ) Wrap up table creation block & create the table

메소드 상세

column() 공개 메소드

Adds a new column to the table definition.
public column ( $name, string $type, array $options = [] ) : Horde_Db_Adapter_Base_TableDefinition
$type string Column type, one of: autoincrementKey, string, text, integer, float, datetime, timestamp, time, date, binary, boolean.
$options array Column options: - limit: (integer) Maximum column length (string, text, binary or integer columns only) - default: (mixed) The column's default value. You cannot explicitly set the default value to NULL. Simply leave off this option if you want a NULL default value. - null: (boolean) Whether NULL values are allowed in the column. - precision: (integer) The number precision (float columns only). - scale: (integer) The number scaling (float columns only). - unsigned: (boolean) Whether the column is an unsigned number (integer columns only). - autoincrement: (boolean) Whether the column is an autoincrement column. Restrictions are RDMS specific.
리턴 Horde_Db_Adapter_Base_TableDefinition This object.

end() 공개 메소드

Wrap up table creation block & create the table
public end ( )

프로퍼티 상세

$_createTrigger 보호되어 있는 프로퍼티

protected $_createTrigger