db\ActiveRecord delete()

delete() public method Deletes the table row corresponding to this active record. This method performs the following steps in order: call beforeDelete(). If the method returns false, it will skip the rest of the steps; delete the record from the database; call afterDelete(). In the above step 1 and 3, events named EVENT_BEFORE_DELETE and EVENT_AFTER_DELETE will be raised by the corresponding methods. public integer|false delete ( )return integer|false The number of rows deleted, or fal

elasticsearch\Command updateSettings()

updateSettings() public method (available since version 2.0.4) Change specific index level settings in real time. Note that update analyzers required to \yii\elasticsearch\close() the index first and \yii\elasticsearch\open() it after the changes are made, use updateAnalyzers() for it. See also http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html. public mixed updateSettings ( $index, $setting, $options = [] )$index string $setting string|ar

db\Command query()

query() public method Executes the SQL statement and returns query result. This method is for executing a SQL query that returns result set, such as SELECT. public yii\db\DataReader query ( )return yii\db\DataReader The reader object for fetching the query result throws yii\db\Exception execution failed

console\Controller confirm()

confirm() public method Asks user to confirm by typing y or n. public boolean confirm ( $message, $default = false )$message string To echo out before waiting for user input $default boolean This value is returned if no selection is made. return boolean Whether user confirmed. Will return true if $interactive is false.

db\Connection $password

$password public property The password for establishing DB connection. Defaults to null meaning no password to use. public string $password = null

db\Connection $schemaCache

$schemaCache public property The cache object or the ID of the cache application component that is used to cache the table metadata. See also $enableSchemaCache. public yii\caching\Cache|string $schemaCache = 'cache'

debug\panels\ConfigPanel getDetail()

getDetail() public method public string getDetail ( )return string Content that is displayed in debugger detail view

db\cubrid\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\db\ColumnSchema object. protected yii\db\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\db\ColumnSchema The column schema object

db\cubrid\QueryBuilder addCommentOnColumn()

addCommentOnColumn() public method (available since version 2.0.8) Builds a SQL command for adding comment to column public string addCommentOnColumn ( $table, $column, $comment )$table string The table whose column is to be commented. The table name will be properly quoted by the method. $column string The name of the column to be commented. The column name will be properly quoted by the method. $comment string The text of the comment to be added. The comment will be properly quoted

db\Query params()

params() public method Sets the parameters to be bound to the query. See also addParams(). public $this params ( $params )$params array List of query parameter values indexed by parameter placeholders. For example, [':name' => 'Dan', ':age' => 31]. return $this The query object itself