bool qDbSetFetchType ( Q_DB db,
bool  use 
)

Set result fetching type

Parameters:
db a pointer of Q_DB structure
use false for storing the results to client (default mode), true for fetching directly from server,
Returns:
true if successful otherwise returns false
Note:
If qDbSetFetchType(db, true) is called, the results does not actually read into the client. Instead, each row must be retrieved individually by making calls to qDbResultNext(). This reads the result of a query directly from the server without storing it in local buffer, which is somewhat faster and uses much less memory than default behavior qDbSetFetchType(db, false).

Definition at line 336 of file qDatabase.c.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1