|
staticconstexprnoexcept |
Creates an inserter for inserting an entity into the database table, automatically generating the primary key value.
| CONFLICT_ACTION | The conflict action to be used when an unique constraint violation occurs. The default action is sqt::ConflictAction::Abort. |
This method is similar to the MakeInserter() method, except that the primary key column is not inserted and its value is automatically generated.
The MakeAutoIncReplacer() method is a shorthand for MakeAutoIncInserter<sqt::ConflictAction::Replace>().
For an easier-to-use method, use the AutoIncInsert() method from the easy style interface.