Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Hotfix/db sql nested expressions #2687

Closed
wants to merge 2 commits into from
Closed

Hotfix/db sql nested expressions #2687

wants to merge 2 commits into from

Conversation

ralphschindler
Copy link
Member

Fix for #2521.

  • This now allows expressions within expressions:
$expression = new Predicate\Operator('release_date', '=', new Expression('FROM_UNIXTIME(?)', 100000000));
  • Previous internal demarcation of the type being TYPE_SELECT is deprecated in favor of TYPE_VALUE. (This is an undocumented and internal only API change).
  • Expression objects now accept scalar|array instead of string|array

Ralph Schindler and others added 2 commits October 3, 2012 13:48
* Fixed AbstractSql to handle nested expressions
* deprecated the internal feature of tagging value types as SELECT
* Expressions now take scalar or array (as opposed to string or array)
* Test added for expression within expression handling
@ghost ghost assigned weierophinney Oct 8, 2012
weierophinney added a commit that referenced this pull request Oct 8, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants