dbNumberRows --
get the number of inserted or deleted records
Synopsis
cc [flag ...] file ...
-kthread-leels [library] ...
#include <eelsdba.h>
int dbNumberRows(DBresult *result);
Description
dbNumberRows
returns the number of records either inserted or deleted
from a database using
dbQuery(3dba).
NOTE:
This function does not return the number of records
returned from an SQL select using
dbQuery.
Arguments
result
(Input) A pointer to a DBresult structure returned
from a previous call to
dbQuery(3dba).
Return values
If successful, dbNumberRows
returns the number of records returned by the previous query.
Otherwise, it returns -1.
Diagnostics
An application can call
dbGetError(3dba)
to obtain the error message returned from the database.