Releases: ratajs/SuperSQL
Releases · ratajs/SuperSQL
2.2
- Added
->put()
method as a shorthand for ->insert()
, ->update()
and ->delete()
- Added
DEBUG
flag and object‐wide $debug
property to display SQL queries before executing
- Added four more methods to advanced conditions:
->in()
, ->begins()
, ->ends()
and ->contains()
- Added type declarations to verify types of arguments passed to methods
- Errors shall now adhere to styles defined in php.ini
2.1
• Added “Advanced Conditions” feature
• Uncommon characters are passed to database in hex.
• Improved SQLite column type recognition
• SQ::NO_ERROR makes query function return false on error.
• db parameter added to __debugInfo() (either SQLite or MySQL)
2.0
Name change, added support for SQLite, fixed ->createTable(), the exception now finds the display_errors configuration and more.
1.1.1
Added support for BIGINT and fixed ->selectWhere() for more conditions.
1.1
Added FETCH_SMART, removed ALWAYS_ARRAY, added general get function, added captions to ->dump() and fixed selectJoin().