Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coma in function return true, false #342

Open
tsukasa-mixer opened this issue Jul 27, 2021 · 0 comments
Open

coma in function return true, false #342

tsukasa-mixer opened this issue Jul 27, 2021 · 0 comments

Comments

@tsukasa-mixer
Copy link
Contributor

tsukasa-mixer commented Jul 27, 2021

SELECT if(true, true, false) FROM t
$parsed = (new PHPSQLParser())->parse($query);
$query = (new PHPSQLCreator())->create($parsed);

d($query);
SELECT if(true true false) FROM t
tsukasa-mixer pushed a commit to tsukasa-mixer/PHP-SQL-Parser that referenced this issue Jul 27, 2021
tsukasa-mixer pushed a commit to tsukasa-mixer/PHP-SQL-Parser that referenced this issue Jul 27, 2021
tsukasa-mixer added a commit to tsukasa-mixer/PHP-SQL-Parser that referenced this issue Jul 27, 2021
* remove `true`, `false` from reseved values

[greenlion#342 (comment)]

* remove `true`, `false` from reseved values

[greenlion#342 (comment)]

Co-authored-by: Maksim Korobitsyn <m.korobitsyn@tradesoft.ru>
greenlion pushed a commit that referenced this issue Feb 1, 2022
* remove `true`, `false` from reseved values

[#342 (comment)]

* remove `true`, `false` from reseved values

[#342 (comment)]

* Update issue342Test.php

Co-authored-by: Maksim Korobitsyn <m.korobitsyn@tradesoft.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant