Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Zend Db Laravel Package

zendframework/zend-db

Zend\Db is a database abstraction layer for PHP, offering SQL builders, adapters, platform-specific quoting, and result set utilities. It supports multiple drivers and helps you write portable, secure queries while keeping low-level control when you need it.

View on GitHub
Deep Wiki
Context7
release-2.11.0

Added

  • #336 adds InsertIgnore class for "INSERT IGNORE" usage (usable in MySQL platform).

  • #356 adds support for IN (NULL) for empty value-set.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #146 fixes setting correct value for lastInsertValue pre-insert in SequenceFeature.
release-2.10.1

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #382 fixes Zend\Db\Sql\Expression to allow 0 value for parameter.

  • #395 fixes PHP 7.4 compatibility.

  • #392 fixes MetadataFeature to work with TableIdentifier.

  • #399 fixes accessing constraint metadata within the Oracle adapter.

  • #375 fixes detecting number of replacements in Zend\Db\Sql\Expression.

  • #377 allows any AdapterInterface instance in RowGateway.

  • #342 fixes deleting from aliased tables.

  • #386 fixes too strongly casting integer parameters in PDO adapter.

release-2.10.0

NOTE: this release introduces a potential BC break in Zend\Db\Adapter\Driver\Mysqli\Result::currentData with the change of default value from false to null (regression from 2.8). This was the previous behavior of version 2.8, changed in 2.9. This change may affect classes that extends Zend\Db\Adapter\Driver\Mysqli\Result.

Added

  • #157 added support of Zend\Db\Sql\TableIdentifier in DDL
  • #345 allow usage with zend-hydrator v3
  • #346 adds support for PHP 7.3

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #303 fixes #295 issue: handle empty array as datasource at AbstractResultSet::initialize() at PHP 7.2
  • #313 test AbstractResultSet::current() to return null on empty array
  • #329 fixes Exception thrown when calling prepareStatementForSqlObject on a Select with a sub-Select that has limit and/or offset set
  • #337 fixes #330 current NULL for mysqli
  • #338 restore missing use ResultSet in AbstractTableGateway
  • #341 fixes undefined variable bug in MetadataFeature
  • #357 fixes named params in subquery - limit and offset (issue #355)
release-2.9.3

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #295 fix error when datasource passed to AbstractResultSet::initialize() is empty array at PHP 7.2 environment

  • #300 fix error for nested queries inside field parameters

  • #301 fix for issue with set fields that exists in different tables in one query

  • #304 fix PDO bind parameter name to use field name with extended charset (PDO only supports alphanumeric and underscore for placeholder/parameter names)

release-2.9.2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #292 ensures that you may reference bound parameter names using a leading colon (:) character when using the PDO adapter. (The leading colon is not technically necessary, as the adapter will prefix for you; however, this ensures portability with vanilla PDO.)
release-2.9.1

Added

  • Nothing.

Changed

  • #289 reverts a change introduced in 2.9.0 and modifies the behavior of the PDO adapter slightly to remove a regression. In 2.9.0, when binding parameters with names that contained characters not supported by PDO, we would pass the parameter names to md5(); this caused a regression, as the SQL string containing the parameter name was not also updated.

    This patch modifies the behavior during a bind-operation to instead raise an exception if a parameter name contains characters not supported by PDO.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
release-2.9.0

Added

  • #216 added AFTER support in ALTER TABLE syntax for MySQL
  • #223 added support for empty values set with IN predicate
  • #271 added support for dash character on MySQL identifier
  • #273 added support for implementing an error handler for db2_prepare
  • #275 added support for LIMIT OFFSET for db2
  • #280 added version dsn parameter for pdo_dblib

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #205 fixes the spaces in ORDER BY syntax
  • #224 fixes how parameters are bound to statements in the PDO adapter. PDO has a restriction on parameter names of [0-9a-zA_Z_]; as such, the driver now hashes the parameter names using md5() in order to ensure compatibility with other drivers.
  • #229 fixes the support of SSL for mysqli
  • #255 fixes ResultSet with array values
  • #261 fixes Exception in Firebird driver doesn't support lastInsertId
  • #276 fixes the support of PHP 7.2
  • #287 fixes the usage of count() with PHP 7.2
release-2.8.2

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #154 fixes the how the COMBINE operator is applied to SQLite adapters, ensuring a valid UNION statement is generated.
  • #112 fixes the test on the number of replacements when using the same variable name.
  • #115 TableGateway update method was incorrect when specifying default join declaration.
  • #145 Fix MSSQL Select when encounting DISTINCT and OFFSET and LIMIT together.
  • #153 Runtime exception threw fatal error due to incorrect spelling of the class when a DSN did not exist.
release-2.8.1

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #100 fixes the JOIN behavior to re-allow selecting an empty column set from the joined table.
  • #106 fixes an issue in the test suite when ext/pgsql is enabled, but no databases are available.
release-2.8.0

Added

  • #92 adds the class Zend\Db\Sql\Join for creating and aggregating JOIN specifications. This is now consumed by all Zend\Db\Sql implementations in order to represent JOIN statements.
  • #92 adds support for JOIN operations to UPDATE statements.
  • #92 adds support for joins to AbstractTableGateway::update; you can now pass an array of specifications via a third argument to the method.
  • #96 exposes the package as config-provider/component, but adding:
    • Zend\Db\ConfigProvider, which maps the AdapterInterface to the AdapterServiceFactory, and enables the AdapterAbstractServiceFactory.
    • Zend\Db\Module, which does the same, for a zend-mvc context.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
release-2.7.1

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #71 updates the Pgsql adapter to allow passing the connection charset; this can be done with the charset option when creating your adapter.
  • #76 fixes the behavior of Zend\Db\Sql\Insert when an array of names is used for columns to ensure the string names are used, and not the array indices.
  • #91 fixes the behavior of the Oci8 adapter when initializing a result set; previously, it was improperly assigning the count of affected rows to the generated value.
  • #95 fixes the IbmDb2 platform's quoteIdentifier() method to properly allow # characters in identifiers (as they are commonly used on that platform).
release-2.7.0

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #85 and #87 update the code base to be forwards compatible with:
    • zend-eventmanager v3
    • zend-hydrator v2.1
    • zend-servicemanager v3
    • zend-stdlib v3
release-2.6.2

Added

  • #49 Add docbook documentation.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #55 Implement FeatureSet canCallMagicCall and callMagicCall methods
  • #56 AbstractResultSet::current now does validation to ensure an array.
  • #58 Fix unbuffered result on MySQLi.
  • #59 Allow unix_socket parameter
release-2.6.1

2.6.1 - 2015-10-14

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #31 fixes table gateway update when there is a table alias utilized.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport