An insert policy object that triggers a new INSERT statement after a given number of rows have been inserted. More...
|Alias for our access controller type. |
Public Member Functions
|RowCountInsertPolicy (unsigned int rows)|
|template<class RowT >|
|bool||can_add (int, const RowT &)|
|Can we add another object to the query? |
An insert policy object that triggers a new INSERT statement after a given number of rows have been inserted.
This policy is very lightweight, but is only reliable when you can predict the size of each INSERT in advance. The others do more processing to reduce the risk of unpredictable row sizes.
|bool RowCountInsertPolicy< AccessController >::can_add||(||int||,|
|const RowT &|
Can we add another object to the query?
|true||if the object is allowed to be added to the INSERT statement|