#include <sqt/orm/querier/updater/entity_updater.h>
A primary updater that updates values of entities in the table.
| CONFLICT_ACTION | The conflict action to be used when a unique constraint violation occurs. |
| VALUE_OPERAND | The value operand type that the updater uses for updating. It must satisfy the sqt::EntityValueOperandType concept. |
This primary updater updates values of entities in the table without any condition. The columns to be updated are specified by the VALUE_OPERAND type.
To create instances of this updater, use the sqt::DataContext::MakeUpdater() and sqt::DataContext::MakeNoPrimaryKeyUpdater() methods.
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 | EntityUpdater (VALUE_OPERAND value) |
| void | BindInlineParameters (Statement &statement) const |
| Public Member Functions inherited from sqt::WhereCapability< EntityUpdater< CONFLICT_ACTION, VALUE_OPERAND > > | |
| constexpr auto | Where (PREDICATE &&predicate) const |
Static Public Attributes | |
| static constexpr std::size_t | ParameterIndex = 1 |
| static constexpr std::size_t | ParameterCount = VALUE_OPERAND::ParameterCount |