Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回受执行预准备语句影响的行数。
sqlany_affected_rows ( $stmt )
$stmt 预准备并成功执行的语句,其中不返回任何结果集。例如,执行了 INSERT、UPDATE 或 DELETE 语句。
返回标量值(受影响的行数)或返回 -1(失败时)。
affected = api.sqlany_affected( stmt )