Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the number of rows in the result set.
public sacapi_i32 sqlany_num_rows(a_sqlany_stmt * sqlany_stmt)
A statement object that was executed by sqlany_execute() or sqlany_execute_direct().
The number rows in the result set. If the number of rows is an estimate, the number returned is negative and the estimate
is the absolute value of the returned integer. The value returned is positive if the number of rows is exact.
By default this function only returns an estimate. To return an exact count, set the row_counts option on the connection.
For more information about the row_counts option, see row_counts option.