mysql.binds

mysql.binds

mysql.binds

Function

Append multiple lines of batch binding parameters.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
rowsArrayYesNoneA two-dimensional array; each row is a set of bound values.

Return value

TypeDescription
MysqlReturns the new MySQL query builder.

Example

Notes

  • binds will report an error when there are missing parameters or the parameters are not two-dimensional arrays.
  • all() and one() do not support binds.