You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
...
PhpMyAdmin\SqlParser\Components\Condition Object
(
[identifiers] => Array
(
[0] => a
[1] => field
[2] => b
)
[isOperator] =>
[expr] => a.field IN (SELECT * FROM b)
)
...
So I have an idea. May be there must be separateExpressionParser generating AST for expression? Those (including me) who needed parsed expression can use it (and extract subselects, and parse it with regular parser), and there will be no compatibility break.
Does it sounds as a good plan? If it does, I would like to implement it.
The text was updated successfully, but these errors were encountered:
m0003r
changed the title
Subquery support
Subquery in expressions support
Apr 7, 2020
It seems to subqueries are poorly supported
Some examples first:
They are not parsed at all
results in
not even extracted properly (see #254)
results in
So I have an idea. May be there must be separate
ExpressionParser
generating AST for expression? Those (including me) who needed parsed expression can use it (and extract subselects, and parse it with regular parser), and there will be no compatibility break.Does it sounds as a good plan? If it does, I would like to implement it.
The text was updated successfully, but these errors were encountered: