Skip to main content
Version: Fegg 5.x

Pdo::unsetRegularUseQueryForTable

Skip the automatic queries of the table for the next query

Description​

public self Pdo::unsetRegularUseQueryForTable()

For the next query only, skips the queries configured for the table (the table section of database_regular_use_query.php, see Configuration). The queries added for every table still apply.

Example​

Controller
$db = new \Fegg\Database\Pdo();

$rows = $db->unsetRegularUseQueryForTable()->select('cms_news')->execute()->all();