Model::pragma
Execute Pragma
Description
public void Model::pragma( string $mode )
Arguments
Name | Data type | Default | Remarks |
---|---|---|---|
$mode | string | Pragma mode |
Pragma mode
table
index
index_list
Example
Controller
$model = new Model(true, array(
'table' => 'cms_news',
));
// PRAGMA table_info(cms_news)
$model->pragma('table');