Skip to content

Releases: bayfrontmedia/simple-pdo

Version 5.4.3

23 Dec 20:50
285bd16
Compare
Choose a tag to compare

Added

  • Tested up to PHP v8.4.

Version 5.4.2

29 Nov 02:35
afb2fe5
Compare
Choose a tag to compare

Added

  • Added support for MySQL functions in query builder conditions.

Version 5.4.1

26 Nov 14:40
fb90833
Compare
Choose a tag to compare

Added

  • Added support for NULL in values and conditions of Db class methods.

Version 5.4.0

08 Nov 16:20
799de11
Compare
Choose a tag to compare

Added

  • Added startGroup and endGroup methods.

Version 5.3.0

09 Oct 02:05
53b4843
Compare
Choose a tag to compare

Added

  • Added groupBy method.

Changed

  • Updated documentation.

Version 5.2.0

08 Oct 17:36
Compare
Choose a tag to compare

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 of aggregate.

Version 5.1.0

05 Oct 10:54
ce947e7
Compare
Choose a tag to compare

Added

  • Added orWhere method.

Version 5.0.0

17 Sep 01:23
1e2c9e5
Compare
Choose a tag to compare

Added

  • Added setQueryTime method.

Changed

  • Updated method for calculating query durations to be more accurate.
  • Updated getQueryTime and getTotalQueries methods to accept a specific database name.
  • Updated DbFactory::create method to not require a specific default database.

Removed

  • Removed concept of "default" and "current" database in favor of simply using "current".
  • Removed getDefaultConnectionName method.

Version 4.0.1

11 Sep 01:48
Compare
Choose a tag to compare

Fixed

  • Fixed bug in DbFactory using old namespace.

Version 4.0.0

11 Sep 01:22
5842cda
Compare
Choose a tag to compare

Added

  • Added DB_DEFAULT constant.
  • Added getCurrentConnection method.
  • Added constants to be used with the query builder.
  • Added support for multiple INNER, LEFT and RIGHT joins with the query builder.

Changed

  • Renamed add method to addConnection.
  • Renamed use method to useConnection.
  • Renamed get method to getConnection.
  • Renamed getDefault method to getDefaultConnectionName.
  • Renamed getCurrent method to getCurrentConnectionName.
  • Renamed getConnections method to getConnectionNames.
  • Renamed isConnected method to connectionExists.
  • Changed namespace from Bayfront\PDO to Bayfront\SimplePdo
  • Updated documentation.

Removed

  • Removed need for php-string-helpers dependency.