| Qore DbDataProvider Module Reference 1.0

AbstractDbTableBulkOperation.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
29 // enable all warnings
30
32 namespace DbDataProvider {
34 class AbstractDbTableBulkOperation : public AbstractDataProviderBulkOperation {
35
36 public:
37 protected:
39 AbstractBulkOperation bulk;
40
41 public:
42
44 constructor(DbTableDataProvider provider, AbstractBulkOperation bulk) ;
45
46
48 queueData(hash<auto> record);
49
50
52 queueData(list<hash<auto>> records);
53
54
56
59 flush();
60
61
63
66 discard();
67
68 };
69 };
DbDataProvider::AbstractDbTableBulkOperation
Bulk operation object for tables.
Definition: AbstractDbTableBulkOperation.qc.dox.h:34
DbDataProvider::AbstractDbTableBulkOperation::constructor
constructor(DbTableDataProvider provider, AbstractBulkOperation bulk)
Creates the object.
DbDataProvider::AbstractDbTableBulkOperation::queueData
queueData(hash< auto > record)
Queues data in the buffer.
DbDataProvider::DbTableDataProvider
Defines a data provider based on a single SQL table.
Definition: DbTableDataProvider.qc.dox.h:28
DbDataProvider::AbstractDbTableBulkOperation::bulk
AbstractBulkOperation bulk
The actual bulk insert operation object.
Definition: AbstractDbTableBulkOperation.qc.dox.h:39
list
list< auto > list(...)
DbDataProvider::AbstractDbTableBulkOperation::discard
discard()
Discards any buffered data.
DbDataProvider::AbstractDbTableBulkOperation::flush
flush()
Flushes any remaining data to the data provider.
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32