Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回结果集中的行数。
public sacapi_i32 sqlany_num_rows(a_sqlany_stmt * sqlany_stmt)
sqlany_stmt 由 sqlany_execute() 或 sqlany_execute_direct() 执行的语句对象。
结果集中的行数。如果行数是估计值,则返回负数,且估计值为所返回整数的绝对值。如果行数为准确值,则返回值为正。
缺省情况下,此函数仅返回一个估计值。要返回准确计数,请在连接中设置 row_counts 选项。有关 row_counts 选项的详细信息,请参见row_counts 选项。