StatementInfo classleftOperand, operator and rightOperand properties to the Condition componentComponent abstract class to an interfaceContext::load() error handling from throwing an exception to returning a boolean valueMisc::getAliases() into SelectStatement::getAliases()OptionsArray::mergeTokensList class to add the buildFromArray methodToken::TYPE_* constants with the TokenType enumparse method from components into Parsers::class keyword to load a context (#571)bin/sql-parser executable file (#517):= was not recognized as an operator just like = (#306)ALTER TABLE … MODIFY … ENUM('<reserved_keyword>') is being wrongly parsed (#234)ALTER TABLE … MODIFY … ENUM('<reserved_keyword>') is being wrongly parsed (#478)COLLATE in WHERE clauses (#491)ALTER EVENT RENAME TO to use expression instead of var (#419)TokensList::getPrevious was not able to reach very first token (#428)TransactionStatement::build() "Call to a member function build() on null" when the transaction has no endALTER TABLE … RENAME COLUMN … TO … is not understood by the parser/linter (#430)PARTITION syntax errors (#377)ALTER USER when used with IDENTIFIED WITH/VIA/BY option (#431)COALESCE PARTITION in ALTER TABLE, rather than COALESCE (#323)ALGORITHM and LOCK options in ALTER TABLE statements (#319)enclosed by is not recognized by the parser when fields is in lower case (#236)KEY on CreateDefinition (#330)CALL statements parsing (#372)LEFT JOIN, JOIN, INNER JOIN on UpdateStatement (#260)TABLE and REPLACE statements on DESCRIBE statementsDESCRIBE to allow a schema.table syntax (#445)nextToken() function (#397)ALTER EVENT (#404)ALTER EVENT keywords (#404)RENAME INDEX x TO y (#405)CreateStatement function's options (#406)ANALYZE (#413)Context::SQL_MODE* constants to Context::setMode methodCREATE VIEW statements (#371)COMPRESSED columns (#351)#[\AllowDynamicProperties] on Statement and Expression classes for PHP 8.2 supportALTER queries of PARTITIONS (#329)Context::load() error handling to returning a boolean value instead of throwing a LoaderException (#384)ANALYZE and EXPLAIN statements (#386)EXPLAIN Parser (#389)multipoint and multipolygon data types (#393)Expression component (#399)Backport fixes from 5.0.0 to QA branch:
table_copy LIKE tableINTERVAL.IF in conditions.; as operator.BIT data type.DEFAULT option may be an expression.DESC as alias for DESCRIBE..gitignore to ignore composer.lock.ContextGenerator.NULL in expressions.UNION ALL as a type of UNION.SET operations.STRAIGHT_JOIN as a known type of join.MATCH and AGAINST.FLUSH and DEALLOCATE).IF).SqlParser\Components\OptionsArray.SqlParser\Utils\BufferedQuery. Fixes a bug where backslashes in combination with strings weren't handled properly.Breaking changes:
SqlParser\Components\Reference::$table is now an instance of SqlParser\Components\Expression to support references from other tables.NOT IN operator.OUTER as an optional keyword in joins.ENGINE was unrecognized.Breaking changes:
SqlParser\Components\Key::$columns is now an array of arrays. Each array must contain a name key which represents the name of the column and an optional length key which represents the length of the column.How can I help you explore Laravel packages today?