#include <sqt/orm/querier/inserter/entity_inserter.h>
A primary inserter that inserts entities into the table.
| CONFLICT_ACTION | The conflict action to be used when a unique constraint violation occurs. |
| VALUE_OPERAND | The value operand type that the inserter uses for insertion. It must satisfy the sqt::EntityValueOperandType concept. |
This primary inserter inserts entities into the table. The columns to be inserted are specified by the VALUE_OPERAND type.
To create instances of this inserter, use the sqt::DataContext::MakeInserter() method.
This class template satisfies the sqt::QuerierType concept.
Static Public Member Functions | |
| static std::string_view | BuildSQL () |
| static constexpr auto | BuildPlaceholderBinders () noexcept |
Public Member Functions | |
| constexpr | EntityInserter (VALUE_OPERAND value) |
| void | BindInlineParameters (Statement &statement) const |
Static Public Attributes | |
| static constexpr std::size_t | ParameterIndex = 1 |
| static constexpr std::size_t | ParameterCount = VALUE_OPERAND::ParameterCount |