Releases: stellarwp/db
Releases · stellarwp/db
1.1.0
Changes
Feature - Added upsert()
method (props to @binarygary for the work!)
1.0.7
Changes
Tweak - Updates around trim()
for php 8.1 compatibility.
Tweak - Force From()
and Select()
to convert passed non-strings to an empty string.
1.0.6
What's Changed
Fix array shape for errors in DatabaseQueryException by @defunctl in #14
New Contributors
Full Changelog : 1.0.5...1.0.6
1.0.5
Changes
Tweak - Updating doc lock for whereExists() and whereNotExists() in response to a PHPStan flag.
1.0.4
Tweak - Added more documentation for methods provided by DB
.
Tweak - Adjusted docblocks to better declare types.
1.0.3
Changes
Tweak - Set composer.json config.platform.php
to 7.0
.
1.0.2
Changes
Fix - Adjust DB::insert()
, DB::delete()
, DB::update()
, and DB::replace()
signature to match wpdb
's supported method signatures.
Fix - Adjust DB::get_var()
, DB::get_col()
, and DB::get_results()
signature of first arg to match wpdb
's signature.
1.0.1
Changes
Added a Config
class to handle overrides of the DatabaseQueryException and addition of a hook prefix.
Added tests for Config
More documentation
1.0.0
Added
Initial version
Documentation
Automated tests
You can’t perform that action at this time.