|
|
@@ -1960,17 +1960,10 @@ class Query implements ExpressionInterface, IteratorAggregate
|
|
|
/**
|
|
|
* Associates a query placeholder to a value and a type.
|
|
|
*
|
|
|
- * If type is expressed as "atype[]" (note braces) then it will cause the
|
|
|
- * placeholder to be re-written dynamically so if the value is an array, it
|
|
|
- * will create as many placeholders as values are in it. For example:
|
|
|
- *
|
|
|
* ```
|
|
|
- * $query->bind(':id', [1, 2, 3], 'int[]');
|
|
|
+ * $query->bind(':id', 1, 'integer');
|
|
|
* ```
|
|
|
*
|
|
|
- * Will create 3 int placeholders. When using named placeholders, this method
|
|
|
- * requires that the placeholders include `:` e.g. `:value`.
|
|
|
- *
|
|
|
* @param string|int $param placeholder to be replaced with quoted version
|
|
|
* of $value
|
|
|
* @param mixed $value The value to be bound
|