Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
检索使用 sqlany_bind_param 绑定的参数的相关信息。
sqlany_get_bind_param_info ( $stmt, $index )
$stmt 使用 sqlany_prepare 成功预准备的语句。
$index 参数的索引。该数字必须在 0 到 sqlany_num_params() - 1 之间。
返回 2 个元素的数组,其中第一个参数中 1 表示成功,0 表示失败;第二个是描述性参数。
# 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"