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