Releases: francerz/php-sql-builder
Releases · francerz/php-sql-builder
Anniversary update 🎉
First year since the first release of SQL Builder: adding new features, improving performance and reducing coding work.
New Features:
- Using doccomments @sql-key, @sql-ignore to selfdescribe atributes from objects on custom classes.
- Allow select table in DELETE query when JOIN is applied using
$query->rowsIn($tableAlias). - Using clear enumerations for Joins, Nests and Operators.
- Added database detection in table parsing.
- Added connection per query, allowing to nest from various servers.
Internal improvements:
- Enforcing PSR-12 coding styles.
- Simplified dependencies removing francerz/http and using only psr/http-message for UriInterface.
- Improved documentation.
- Added badges for stability status.
Deprecation:
- Q class that extends from Query.
- Various methods from Query which are shorthands like c (column), f (func), a (array), v (value), r (raw).
v0.2.49
v0.2.48
v0.2.47
v0.2.46
v0.2.45
v0.2.44
v0.2.43: Incremented upsert logic.
If bulk insert fails, then insert by row is performed. If row insert failed, then update is performed.