mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Condition pipe defaults to AND
XML 쿼리 작성시 pipe="and"를 일일이 추가하지 않아도 기본값이 AND가 되도록 함
This commit is contained in:
parent
83362034cd
commit
efa1b603c4
4 changed files with 16 additions and 9 deletions
|
|
@ -62,7 +62,7 @@ class ConditionTag
|
|||
function __construct($condition)
|
||||
{
|
||||
$this->operation = $condition->attrs->operation;
|
||||
$this->pipe = $condition->attrs->pipe;
|
||||
$this->pipe = $condition->attrs->pipe ?: 'and';
|
||||
$dbParser = DB::getParser();
|
||||
$this->column_name = $dbParser->parseExpression($condition->attrs->column);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue