Skip to content

Releases: phpmyadmin/sql-parser

v3.0.6

12 Nov 21:43
Compare
Choose a tag to compare
  • Fixed a bug where formatter split the function name and the parameters list.

v3.0.5

12 Nov 21:44
Compare
Choose a tag to compare
  • Add GRANT as known statement.
  • Use JOIN expressions for flag detection.
  • Fix the order of clauses in SELECT statements involving UNIONs.
  • Added dummy parsers for CREATE USER and SET PASSWORD statements.
  • Accept NOT operator in conditions.
  • Fixed DELIMITER statements in BufferedQuery.
  • Added INSERT statement builder.

v3.0.4

21 Oct 20:14
Compare
Choose a tag to compare
  • Fix error message in SqlParser\Components\OptionsArray.

v3.0.3

10 Oct 12:51
Compare
Choose a tag to compare
  • Avoid building a field multiple times if clause has synonyms.

v3.0.2

10 Oct 12:51
Compare
Choose a tag to compare
  • Add EXISTS as an acceptable keyword in conditions.

v3.0.1

06 Oct 20:14
Compare
Choose a tag to compare
  • Handle backslashes separately for SqlParser\Utils\BufferedQuery. Fixes a bug where backslashes in combination with strings weren't handled properly.

v3.0.0

03 Oct 09:32
Compare
Choose a tag to compare

Breaking changes:

  • SqlParser\Components\Reference::$table is now an instance of SqlParser\Components\Expression to support references from other tables.

v2.1.3

03 Oct 09:32
Compare
Choose a tag to compare
  • Add definitions for all JOIN clauses.

v2.1.2

02 Oct 12:58
Compare
Choose a tag to compare
  • Properly parse options when the value of the option is '='.

v2.1.1

01 Oct 13:22
Compare
Choose a tag to compare
  • Only RANGE and LIST type partitions support VALUES.