メインコンテンツまでスキップ
Version: Fegg 5.x

Pdo::unsetRegularUseQueryForTable

次のクエリだけテーブルごとの自動付加クエリを付けません

説明​

public self Pdo::unsetRegularUseQueryForTable()

次のクエリだけ、そのテーブルに設定した自動付加クエリ(database_regular_use_query.phpのtable。設定を参照)を付けません。全テーブル共通の自動付加クエリは付きます。

例​

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

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