db\Schema rollBackSavepoint()

rollBackSavepoint() public method Rolls back to a previously created savepoint. public void rollBackSavepoint ( $name )$name string The savepoint name

db\Schema releaseSavepoint()

releaseSavepoint() public method Releases an existing savepoint. public void releaseSavepoint ( $name )$name string The savepoint name

db\Schema refreshTableSchema()

refreshTableSchema() public method (available since version 2.0.6) Refreshes the particular table schema. This method cleans up cached table schema so that it can be re-created later to reflect the database schema change. public void refreshTableSchema ( $name )$name string Table name.

db\Schema refresh()

refresh() public method Refreshes the schema. This method cleans up all cached table schemas so that they can be re-created later to reflect the database schema change. public void refresh ( )

db\Schema quoteValue()

quoteValue() public method Quotes a string value for use in a query. Note that if the parameter is not a string, it will be returned without change. See also http://www.php.net/manual/en/function.PDO-quote.php. public string quoteValue ( $str )$str string String to be quoted return string The properly quoted string

db\Schema quoteTableName()

quoteTableName() public method Quotes a table name for use in a query. If the table name contains schema prefix, the prefix will also be properly quoted. If the table name is already quoted or contains '(' or '{{', then this method will do nothing. See also quoteSimpleTableName(). public string quoteTableName ( $name )$name string Table name return string The properly quoted table name

db\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a simple table name for use in a query. A simple table name should contain the table name only without any schema prefix. If the table name is already quoted, this method will do nothing. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

db\Schema quoteSimpleColumnName()

quoteSimpleColumnName() public method Quotes a simple column name for use in a query. A simple column name should contain the column name only without any prefix. If the column name is already quoted or is the asterisk character '*', this method will do nothing. public string quoteSimpleColumnName ( $name )$name string Column name return string The properly quoted column name

db\Schema quoteColumnName()

quoteColumnName() public method Quotes a column name for use in a query. If the column name contains prefix, the prefix will also be properly quoted. If the column name is already quoted or contains '(', '[[' or '{{', then this method will do nothing. See also quoteSimpleColumnName(). public string quoteColumnName ( $name )$name string Column name return string The properly quoted column name

db\Schema loadTableSchema()

loadTableSchema() protected abstract method Loads the metadata for the specified table. protected abstract null|yii\db\TableSchema loadTableSchema ( $name )$name string Table name return null|yii\db\TableSchema DBMS-dependent table metadata, null if the table does not exist.