Releases: rawsrc/PDOPlusPlus
Packagist bug
Code simplification
Remove the AbstractInjector
class as its code was so simple that it was meaningful to directly implement it in each injector source code.
So now PDOPlusPlus
is a standalone class with no other dependency.
This is a minor update and will not impact your code.
rawsrc
Version 5.0.0
New version
This a major update
May slightly break the compatibility with the code for the previous version
Fully tested
NEW FEATURES:
- Full support of
BIGINT/INT8
data type (SIGNED/UNSIGNED
) - New injector:
getInjectorInAsRef()
: values are passed by ref and directly escaped (plain sql) - Remove some aliases for
float
data types:double
,num
,numeric
, onlyfloat
remain available
REMOVED:
- Defining the final data type when creating an injector
Correct composer.json
This release is just to fix the composer.json update autoloader zone
New Major Version
New Major Update.
Not compatible with the previous version.
New features :
- Auto-reset
- Support for binary data
- Support for bound columns
- Support for scrollable cursor
- Better support of transactions
- Many code improvements
- Fully tested using Exacodis
Bugfix under PHP 8.0
Minor update :
Bugfix: crash under PHP 8.0
New features : scrollable cursor and PDOStatement access
Hi,
THIS VERSION 3.2.0 IS FULLY COMPATIBLE WITH THE PREVIOUS 3.1.1
New features (2 methods):
selectStmt()
: returns thePDOStatement
generated by the engine and let you play with to extract data exactly as you wantselectStmtAsScrollableCursor()
: returns thePDOStatement
generated by the engine opened as a scrollable cursor if your database engine is compatible with this feature.
New minor feature: define and lock the type of injected values once for all
- New minor feature
it is now possible once for all to define and lock simultaneously the type of variable to be injected through an injector:
$in = $ppp->injectorInByVal('int');
, all values injected using$in()
will automatically have the typeint
attached
Using this version does not break the compatibility with the code compliant with v3.x
New features
-
Injectors
It is now possible to lock the data type before using the injector, see the method->lockType()
inside each injector -
Pool of connections
It is now possible to manage a pool of connections through the same instance ofPDOPlusPlus
.
This does not break the previous way of connecting to the database based on constants