Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlUpdateDataPlan Struct Reference

Represents a SQL UPDATE data plan for migrations. More...

#include <MigrationPlan.hpp>

Public Attributes

std::string schemaName
 The schema name of the table to update.
 
std::string tableName
 The name of the table to update.
 
std::vector< std::pair< std::string, SqlVariant > > setColumns
 The columns and their values to set.
 
std::string whereColumn
 The column name for the WHERE clause.
 
std::string whereOp
 The comparison operator for the WHERE clause (e.g., "=", "<>", etc.).
 
SqlVariant whereValue
 The value for the WHERE clause.
 

Detailed Description

Represents a SQL UPDATE data plan for migrations.

This structure represents an UPDATE statement for a migration plan.

Definition at line 436 of file MigrationPlan.hpp.

Member Data Documentation

◆ schemaName

std::string Lightweight::SqlUpdateDataPlan::schemaName

The schema name of the table to update.

Definition at line 439 of file MigrationPlan.hpp.

◆ tableName

std::string Lightweight::SqlUpdateDataPlan::tableName

The name of the table to update.

Definition at line 442 of file MigrationPlan.hpp.

◆ setColumns

std::vector<std::pair<std::string, SqlVariant> > Lightweight::SqlUpdateDataPlan::setColumns

The columns and their values to set.

Definition at line 445 of file MigrationPlan.hpp.

◆ whereColumn

std::string Lightweight::SqlUpdateDataPlan::whereColumn

The column name for the WHERE clause.

Definition at line 448 of file MigrationPlan.hpp.

◆ whereOp

std::string Lightweight::SqlUpdateDataPlan::whereOp

The comparison operator for the WHERE clause (e.g., "=", "<>", etc.).

Definition at line 451 of file MigrationPlan.hpp.

◆ whereValue

SqlVariant Lightweight::SqlUpdateDataPlan::whereValue

The value for the WHERE clause.

Definition at line 454 of file MigrationPlan.hpp.


The documentation for this struct was generated from the following file: