solidDB Help : solidDB reference : solidDB SA: Function reference : SaArrayFlush
  
SaArrayFlush
SaArrayFlush flushes the array operation buffer (that is, it sends the data to the server) after a series of calls to SaArrayInsert fills that buffer.
By default, all SA operations, even SaArrayFlush operations, are done in autocommit mode. In autocommit mode, theSaArrayFlush function does not automatically insert all of the array records in a single transaction; instead, when SaArrayFlush is called, the insertion of each record is treated as a separate transaction. To maximize performance, you might want to do an explicit SaTransBegin before you call SaArrayFlush, and do an explicit SaTransCommit after you call SaArrayFlush
SaArray* functions are not supported in linked library access; they work only with the network client library. They return SA_ERR_CALLNOSUP with linked library access.
Synopsis
SaRetT SA_EXPORT_H SaArrayFlush(SaConnectT* scon, SaRetT* rctab)
Parameters
The following table describes the parameters:
 
Parameters
Usage type
Description
scon
use
Pointer to a connection object
rctab
use
Array of return codes for each array operation
If this parameter is non-NULL, the return code of each array operation is returned in rctab[i], wherei is the order number of the array operation since the last SaArrayFlush.
Return value
SA_RC_SUCC or error code of first failed array operation.
Go up to
solidDB SA: Function reference