Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlMigrationInsertBuilder Class Referencefinal

Query builder for building INSERT queries in migrations. More...

#include <Migrate.hpp>

Public Member Functions

 SqlMigrationInsertBuilder (SqlInsertDataPlan &plan)
 
template<typename T >
SqlMigrationInsertBuilderSet (std::string columnName, T const &value)
 Sets a column value for the INSERT.
 

Detailed Description

Query builder for building INSERT queries in migrations.

See also
SqlMigrationQueryBuilder

Definition at line 347 of file Migrate.hpp.

Constructor & Destructor Documentation

◆ SqlMigrationInsertBuilder()

Lightweight::SqlMigrationInsertBuilder::SqlMigrationInsertBuilder ( SqlInsertDataPlan plan)
inlineexplicit

Definition at line 350 of file Migrate.hpp.

Member Function Documentation

◆ Set()

template<typename T >
SqlMigrationInsertBuilder & Lightweight::SqlMigrationInsertBuilder::Set ( std::string  columnName,
T const &  value 
)
inline

Sets a column value for the INSERT.

Definition at line 357 of file Migrate.hpp.


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