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

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

#include <Migrate.hpp>

Public Member Functions

 SqlMigrationDeleteBuilder (SqlDeleteDataPlan &plan)
 
template<typename T >
SqlMigrationDeleteBuilderWhere (std::string columnName, std::string op, T const &value)
 Adds a WHERE condition to the DELETE.
 

Detailed Description

Query builder for building DELETE queries in migrations.

See also
SqlMigrationQueryBuilder

Definition at line 405 of file Migrate.hpp.

Constructor & Destructor Documentation

◆ SqlMigrationDeleteBuilder()

Lightweight::SqlMigrationDeleteBuilder::SqlMigrationDeleteBuilder ( SqlDeleteDataPlan plan)
inlineexplicit

Definition at line 408 of file Migrate.hpp.

Member Function Documentation

◆ Where()

template<typename T >
SqlMigrationDeleteBuilder & Lightweight::SqlMigrationDeleteBuilder::Where ( std::string  columnName,
std::string  op,
T const &  value 
)
inline

Adds a WHERE condition to the DELETE.

Definition at line 415 of file Migrate.hpp.


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