Releases: bayfrontmedia/simple-pdo
Releases · bayfrontmedia/simple-pdo
Version 5.4.3
Added
- Tested up to PHP v8.4.
Version 5.4.2
Added
- Added support for MySQL functions in query builder conditions.
Version 5.4.1
Added
- Added support for
NULL
in values and conditions ofDb
class methods.
Version 5.4.0
Added
- Added
startGroup
andendGroup
methods.
Version 5.3.0
Added
- Added
groupBy
method.
Changed
- Updated documentation.
Version 5.2.0
Added
- Added
aggregate
method and related constants. - Added the following operators:
OPERATOR_STARTS_WITH_INSENSITIVE
OPERATOR_DOES_NOT_START_WITH_INSENSITIVE
OPERATOR_ENDS_WITH_INSENSITIVE
OPERATOR_DOES_NOT_END_WITH_INSENSITIVE
OPERATOR_HAS_INSENSITIVE
OPERATOR_DOES_NOT_HAVE_INSENSITIVE
OPERATOR_NOT_NULL
Depreciated
- Depreciated
getTotalRows
method in favor ofaggregate
.
Version 5.1.0
Added
- Added
orWhere
method.
Version 5.0.0
Added
- Added
setQueryTime
method.
Changed
- Updated method for calculating query durations to be more accurate.
- Updated
getQueryTime
andgetTotalQueries
methods to accept a specific database name. - Updated
DbFactory::create
method to not require a specificdefault
database.
Removed
- Removed concept of "default" and "current" database in favor of simply using "current".
- Removed
getDefaultConnectionName
method.
Version 4.0.1
Fixed
- Fixed bug in
DbFactory
using old namespace.
Version 4.0.0
Added
- Added
DB_DEFAULT
constant. - Added
getCurrentConnection
method. - Added constants to be used with the query builder.
- Added support for multiple
INNER
,LEFT
andRIGHT
joins with the query builder.
Changed
- Renamed
add
method toaddConnection
. - Renamed
use
method touseConnection
. - Renamed
get
method togetConnection
. - Renamed
getDefault
method togetDefaultConnectionName
. - Renamed
getCurrent
method togetCurrentConnectionName
. - Renamed
getConnections
method togetConnectionNames
. - Renamed
isConnected
method toconnectionExists
. - Changed namespace from
Bayfront\PDO
toBayfront\SimplePdo
- Updated documentation.
Removed
- Removed need for
php-string-helpers
dependency.