|
staticconstexprnoexcept |
Creates an inserter for inserting the specified columns of the entity into the database table.
| CONFLICT_ACTION | The conflict action to be used when a unique constraint violation occurs. The default action is sqt::ConflictAction::Abort. |
| ASSIGNMENTS | A pack of the assignment types. |
| assignments | The assignments specifying the columns and their values to be inserted. |
This method provides more control over the inserted columns compared to the MakeInserter() method. It allows specifying which columns to insert and their corresponding values.
The MakeReplacer(ASSIGNMENTS&&...) method is a shorthand for MakeInserter<sqt::ConflictAction::Replace>(assignments).
For more information about the assignments, refer to the sqt::AssignmentType concept.