You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The numerical parameters in the QueryBuilder API start with the needle
``0``, not with ``1`` as in the PDO API.
The usage of non-zero-based keys has been explicitly deprecated in #4411. The issue was discovered during the work on #4397 which enforces this deprecation.
Current behaviour
When using QueryBuilder::createPositionalParameter(), the keys are created starting from 1.
Bug Report
Summary
According to the documentation,
dbal/docs/en/reference/query-builder.rst
Lines 47 to 48 in 84328cd
The usage of non-zero-based keys has been explicitly deprecated in #4411. The issue was discovered during the work on #4397 which enforces this deprecation.
Current behaviour
When using
QueryBuilder::createPositionalParameter()
, the keys are created starting from1
.How to reproduce
Expected behaviour
The text was updated successfully, but these errors were encountered: