Skip to content

v2.7.0

Choose a tag to compare

@SoloPHP SoloPHP released this 19 Feb 07:54
· 8 commits to main since this release

Breaking Changes

  • Removed fetchObject() method
  • Updated return types for fetch() and fetchAll() to support both array and object results

New Features

  • Added configurable fetch mode support (PDO::FETCH_ASSOC or PDO::FETCH_OBJ)
  • Added ability to override fetch mode per query
  • Added fetchColumn to fetch a single column from the next row of the result set.

Security Improvements

  • Enhanced parameter validation in QueryPreparer
  • Strengthened table and column name validation