SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::Assignment< IDENTIFIER, VALUE > Class Template Reference

#include <sqt/orm/expression/assignment.h>

Description

template<IdentifierOperandType IDENTIFIER, ValueOperandType VALUE>
class sqt::Assignment< IDENTIFIER, VALUE >

Represents an assignment of a value to an identifier.

Template Parameters
IDENTIFIERThe identifier operand type, which must satisfy the sqt::IdentifierOperandType concept.
VALUEThe value operand type, which must satisfy the sqt::ValueOperandType concept.

This class template satisfies the sqt::AssignmentType concept.

See also
sqt::AssignmentType
sqt::IdentifierOperandType
sqt::ValueOperandType

Public Types

using LHSOperand = IDENTIFIER
using RHSOperand = VALUE

Static Public Member Functions

static constexpr auto BuildPlaceholderBinders (int parameter_index) noexcept
static std::string BuildSQL ()

Public Member Functions

constexpr Assignment (VALUE value) noexcept
void BindInlineParameters (Statement &statement, int parameter_index) const

Static Public Attributes

static constexpr AssignmentOperator Operator = AssignmentOperator::Assign
static constexpr std::size_t ParameterCount = VALUE::ParameterCount