Repository navigation
Releases: Eurobertics/Connfetti-DB
Release list
Release 1.0 and update of PHP Version
It's quite a while since the start of this library. It's used in some, mostly private projects. So I decided to give it now the full 1.0 tag.
Also with this release, I removed the PHP Version constrain so it is compatible by Composer above PHP 8.2.
Last but not least, a deprecation is fixed due to a misconception of a method.
Update composer.json to PHP8.1
Updated to PHP version 8.1 after some tests including MySQLi
Added inverted state for BETWEEN and IN
Added NOT for BETWEEN and IN, also changed for this the whereBetween($col, $value1, $value2) and in($insearch, $type = Sql::COMPERABLE_IN, $indata = array()) methods to:
whereBetween($col, $type = Sql::COMPERABLE_BETWEEN, $value1, $value2)
and
in($insearch, $type = Sql::COMPERABLE_IN, $indata = array())
FIX: added string seprator and value escape in new SQL functions
Added string seperator, check for integer and escape string, as well as check for prepared statement placeholder in IN and BETWEEN SQL functions.
FIX: added return of self reference for release v0.9.9.2
This is a fix for the version 0.9.9.2.
Added missing self reference (this) in newly created whereBetween method for SELECT, UPDATE and DELETE.
Added BETWEEN for WHERE state
Added BETWEEN for WHERE state in SELECT, UPDATE and DELETE
Added iterable ResultSets
Added IteratorAggregate to ResultSet to make it iterable
Added comperable LIKE const to SQL builder
Added SQL comperable LIKE const to the SQL builder for convenient use in SELECT::where() clause.
Fixed conditional warnings in prepared statements
Some warnings appeared when preparing statements. Fixed conditions in BuilderAbstract to avoid any warnings or errors.
Added lastInsertedRow
Added feature to get the last inserted row id from an insert query.
- Adapter->lastInsertedId()