Skip to main content
Version: Fegg 5.x (next)

Pdo::unsetRegularUseQueryForTable

Disable automatic append query of the table for a current query flag

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();