Name

bind_param — Binds a variable to a named parameter

Synopsis

statementObj.bind_param(label, bindvar)

Description

#bind_param binds bindvar to the parameter named label.

Bind variables are used for input of parameters in a DML statement or for either input and output of parameters in a call to a stored procedure or function.

You cannot use both #bind_param and #bind_params together in preparation for a call to #execute, but you can switch between them after each call to #execute.