#include <insertpolicy.h>
Public Types | |
typedef AccessController | access_controller |
Alias for our access controller type. | |
Public Member Functions | |
SizeThresholdInsertPolicy (int size) | |
Constructor. | |
~SizeThresholdInsertPolicy () | |
Destructor. | |
template<class RowT> | |
bool | can_add (int size, const RowT &object) const |
Can we add another object to the query? |
Although this insert policy isn't completely deterministic, it avoids building the VALUES expression for the SSQLS object passed in.
bool SizeThresholdInsertPolicy< AccessController >::can_add | ( | int | size, | |
const RowT & | object | |||
) | const [inline] |
Can we add another object to the query?
size | current length of the INSERT statement | |
object | the SSQLS object to be added |
true | if the object is allowed to be added to the INSERT statement |