Details
-
Type:
New Feature
-
Status:
Postponed
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 0.1.3, 0.1.4
-
Fix Version/s: Next Minor Release
-
Component/s: Zend_Db
-
Labels:None
Description
The array syntax for a sql array is '{1,2,3}'::int[] for example. Zend_Db cannot properly bind to an inline array from a php array.
Current workaround is to avoid the prepared statement route and implode the array concatenating the query.
This is confirmed to affect operation with PGSQL, though I suspect it may affect all drivers.
:bindname::int[] results in 'array value must start with "{" or dimension information' error from the db. adding {:bindname}::int[] will result in a problem preparing the statement.
This may be a problem / limitation with the underlying pdo implementation.
Changing fix version to 0.8.0.