Skip to content

Adding andX, orX to the ExpressionBuilder - #11

Merged
lstrojny merged 1 commit into
InterNations:masterfrom
dovys:master
Nov 19, 2014
Merged

Adding andX, orX to the ExpressionBuilder#11
lstrojny merged 1 commit into
InterNations:masterfrom
dovys:master

Conversation

@dovys

@dovys dovys commented Nov 19, 2014

Copy link
Copy Markdown
Contributor

Adding andX and orX to the ExpressionBuilder.

$builder->andX($builder->field('foo', 'bar'), $builder->field('bar', 'baz'));

Against

$builder->grp($builder->field('foo', 'bar'), $builder->field('bar', 'baz'), GroupExpression::TYPE_AND);

@dovys

dovys commented Nov 19, 2014

Copy link
Copy Markdown
Contributor Author

The build is failing cause of:

22 | ERROR | Legacy array syntax (array()) is discouraged. Use [] instead

Which is not related to the PR at all. Switching to [] would mean no support for php 5.3

lstrojny added a commit that referenced this pull request Nov 19, 2014
Adding andX, orX to the ExpressionBuilder
@lstrojny
lstrojny merged commit 732f357 into InterNations:master Nov 19, 2014
@lstrojny

Copy link
Copy Markdown
Contributor

Merged and included in 0.7.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants