sqlany_get_bind_param_info

Retrieves information about the parameters that were bound using sqlany_bind_param.

Syntax
sqlany_get_bind_param_info ( $stmt, $index )
Parameters
  • $stmt   A statement successfully prepared using sqlany_prepare.

  • $index   The index of the parameter. The number must be between 0 and sqlany_num_params() - 1.

Returns

Returns a 2-element array that contains 1 on success or 0 on failure as the first element and a described parameter as the second element.

See also
Example
# Get information on first parameter (0)
rc, param_info = api.sqlany_get_bind_param_info( stmt, 0 )
print "Param_info direction = ", param_info.get_direction(), "\n"
print "Param_info output = ", param_info.get_output(), "\n"