db\oci\Schema init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

db\oci\Schema getTableSequenceName()

getTableSequenceName() protected method Sequence name of table protected string|null getTableSequenceName ( $tableName )$tableName string return string|null Whether the sequence exists

db\oci\Schema getLastInsertID()

getLastInsertID() public method See also http://www.php.net/manual/en/function.PDO-lastInsertId.php -> Oracle does not support this Returns the ID of the last inserted row or sequence value. public string getLastInsertID ( $sequenceName = '' )$sequenceName string Name of the sequence object (required by some DBMS) return string The row ID of the last row inserted, or the last value retrieved from the sequence object throws yii\base\InvalidCallException if the DB connection is not

db\oci\Schema findUniqueIndexes()

findUniqueIndexes() public method (available since version 2.0.4) Returns all unique indexes for the given table. Each array element is of the following structure: [ 'IndexName1' => ['col1' [, ...]], 'IndexName2' => ['col2' [, ...]], ] public array findUniqueIndexes ( $table )$table yii\db\TableSchema The table metadata return array All unique indexes for the given table.

db\oci\Schema findTableNames()

findTableNames() protected method Returns all table names in the database. This method should be overridden by child classes in order to support this feature because the default implementation simply throws an exception. protected array findTableNames ( $schema = '' )$schema string The schema of the tables. Defaults to empty string, meaning the current or default schema. return array All table names in the database. The names have NO schema name prefix. throws yii\base\NotSupportedExc

db\oci\Schema findSchemaNames()

findSchemaNames() protected method Returns all schema names in the database, including the default one but not system schemas. This method should be overridden by child classes in order to support this feature because the default implementation simply throws an exception. protected array findSchemaNames ( )return array All schema names in the database, except system schemas throws yii\base\NotSupportedException if this method is called

db\oci\Schema findConstraints()

findConstraints() protected method Finds constraints and fills them into TableSchema object passed protected void findConstraints ( $table )$table yii\db\TableSchema

db\oci\Schema findColumns()

findColumns() protected method Collects the table column metadata. protected boolean findColumns ( $table )$table yii\db\TableSchema The table schema return boolean Whether the table exists

db\oci\Schema extractColumnType()

extractColumnType() protected method Extracts the data types for the given column protected void extractColumnType ( $column, $dbType, $precision, $scale, $length )$column yii\db\ColumnSchema $dbType string DB type $precision string Total number of digits. This parameter is available since version 2.0.4. $scale string Number of digits on the right of the decimal separator. This parameter is available since version 2.0.4. $length string Length for character types. This parameter is

db\oci\Schema extractColumnSize()

extractColumnSize() protected method Extracts size, precision and scale information from column's DB type. protected void extractColumnSize ( $column, $dbType, $precision, $scale, $length )$column yii\db\ColumnSchema $dbType string The column's DB type $precision string Total number of digits. This parameter is available since version 2.0.4. $scale string Number of digits on the right of the decimal separator. This parameter is available since version 2.0.4. $length string Length