|
Lightweight 0.20260303.0
|
Query builder for building UPDATE queries in migrations. More...
#include <Migrate.hpp>
Public Member Functions | |
| SqlMigrationUpdateBuilder (SqlUpdateDataPlan &plan) | |
| Constructs a migration UPDATE builder. | |
| template<typename T > | |
| SqlMigrationUpdateBuilder & | Set (std::string columnName, T const &value) |
| Sets a column value for the UPDATE. | |
| template<typename T > | |
| SqlMigrationUpdateBuilder & | Where (std::string columnName, std::string op, T const &value) |
| Adds a WHERE condition to the UPDATE. | |
Query builder for building UPDATE queries in migrations.
Definition at line 375 of file Migrate.hpp.
|
inlineexplicit |
Constructs a migration UPDATE builder.
Definition at line 379 of file Migrate.hpp.
|
inline |
Sets a column value for the UPDATE.
Definition at line 386 of file Migrate.hpp.
|
inline |
Adds a WHERE condition to the UPDATE.
Definition at line 394 of file Migrate.hpp.