AbstractDbTableBulkOperation.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// minimum required Qore version
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace DbDataProvider {
class AbstractDbTableBulkOperation : public AbstractDataProviderBulkOperation {
public:
protected:
AbstractBulkOperation bulk;
public:
constructor(DbTableDataProvider provider, AbstractBulkOperation bulk) ;
queueData(hash<auto> record);
queueData(list<hash<auto>> records);
flush();
discard();
};
};
DbDataProvider::AbstractDbTableBulkOperation::queueData
queueData(hash< auto > record)
Queues data in the buffer.
DbDataProvider::AbstractDbTableBulkOperation::bulk
AbstractBulkOperation bulk
The actual bulk insert operation object.
Definition: AbstractDbTableBulkOperation.qc.dox.h:39
DbDataProvider::AbstractDbTableBulkOperation::constructor
constructor(DbTableDataProvider provider, AbstractBulkOperation bulk)
Creates the object.
list
list< auto > list(...)
DbDataProvider::AbstractDbTableBulkOperation::queueData
queueData(list< hash< auto >> records)
Queues data in the buffer.
DbDataProvider::AbstractDbTableBulkOperation::discard
discard()
Discards any buffered data.
DbDataProvider::AbstractDbTableBulkOperation
Bulk operation object for tables.
Definition: AbstractDbTableBulkOperation.qc.dox.h:34
DbDataProvider::DbTableDataProvider
Defines a data provider based on a single SQL table.
Definition: DbTableDataProvider.qc.dox.h:34
DbDataProvider::AbstractDbTableBulkOperation::flush
flush()
Flushes any remaining data to the data provider.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32