xPDOQuery.condition
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOQuery::condition¶
Добавляет условие в запрос для указанной цели (where, having или on). Это низкоуровневый метод, лежащий в основе where() и having(); отдавайте им предпочтение, если только вам не нужно обратиться к конкретной секции.
Синтаксис¶
xPDOQuery condition (array &$target, [mixed $conditions = '1'], [string $conjunction = xPDOQuery::SQL_AND], [mixed $binding = null], [integer $condGroup = 0])
Пример¶
$query = $xpdo->newQuery('Box');
$query->condition($query->query['where'], array('width:>' => 10));
Смотрите также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










