Releases: nulpunkt/yesql-php
Releases · nulpunkt/yesql-php
Make sure properties are declared
Support for php8
For actual production code only a regex has been updated.
This release has been testet on 7.4.28 and 8.0.18.
For tests phpunit has been upgraded and the CI has been moved to github actions.
Added support of naming parameters in queries directly.
Before this, you had to create an inFunc which did the mapping. Rightfully, some have argued that it was probably not the best way to doit. So now names can be specified directly in the name of the query.
Allow subclasses to access the db connection
Allow subclasses to get a hold of the connection For some reason, people seem to think this is a nice idea, so they can make mixed repositories, which contains methods handled by yesql and some they make on their own.
We should not warn when getting zero rows in oneOrMany: one mode
We should not warn when getting zero rows in oneOrMany: one mode.
Fetch rows into a class
We should be able to fetch rows directly into classes.
Eager checking of rowFunc and inFunc
It is nice to know if rowFunc
and inFunc
exist.
Cache prepared statements
This will make repeated calls to a method execute faster.
Api is stable
This marks the first actual release. I feel like the api is stable.