sqlany_get_bind_param_info Function

Retrieves information about the parameters that were bound using sqlany_bind_param.

Syntax

sqlany_get_bind_param_info ( $stmt, $index )

Parameters

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.

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"