Skip to content

Releases: bayfrontmedia/simple-pdo

Version 5.4.5

Choose a tag to compare

@robinsonjohn robinsonjohn released this 17 Jul 19:32
4eb7f5c

Changed

  • Updated exists method of Db class to use SELECT 1 instead of using the count method for better performance

Version 5.4.4

Choose a tag to compare

@robinsonjohn robinsonjohn released this 09 Mar 18:12

Fixed

  • Fixed bug in match expression in bindParams method of Db class
  • Fixed bug in is_function method of Query class

Version 5.4.3

Choose a tag to compare

@robinsonjohn robinsonjohn released this 23 Dec 20:50
285bd16

Added

  • Tested up to PHP v8.4.

Version 5.4.2

Choose a tag to compare

@robinsonjohn robinsonjohn released this 29 Nov 02:35
afb2fe5

Added

  • Added support for MySQL functions in query builder conditions.

Version 5.4.1

Choose a tag to compare

@robinsonjohn robinsonjohn released this 26 Nov 14:40
fb90833

Added

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

Version 5.4.0

Choose a tag to compare

@robinsonjohn robinsonjohn released this 08 Nov 16:20
799de11

Added

  • Added startGroup and endGroup methods.

Version 5.3.0

Choose a tag to compare

@robinsonjohn robinsonjohn released this 09 Oct 02:05
53b4843

Added

  • Added groupBy method.

Changed

  • Updated documentation.

Version 5.2.0

Choose a tag to compare

@robinsonjohn robinsonjohn released this 08 Oct 17:36

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

Choose a tag to compare

@robinsonjohn robinsonjohn released this 05 Oct 10:54
ce947e7

Added

  • Added orWhere method.

Version 5.0.0

Choose a tag to compare

@robinsonjohn robinsonjohn released this 17 Sep 01:23
1e2c9e5

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.