Lightweight 0.20260303.0
Loading...
Searching...
No Matches
Lightweight::SqlMigrationPlan Struct Reference

Represents a SQL migration plan. More...

#include <MigrationPlan.hpp>

Public Member Functions

LIGHTWEIGHT_API std::vector< std::string > ToSql () const
 Converts the migration plan to a list of SQL statements.
 

Public Attributes

SqlQueryFormatter const & formatter
 The SQL query formatter to use.
 
std::vector< SqlMigrationPlanElementsteps {}
 The migration plan steps.
 

Detailed Description

Represents a SQL migration plan.

This structure represents a SQL migration plan that can be executed on a database.

Definition at line 547 of file MigrationPlan.hpp.

Member Data Documentation

◆ formatter

SqlQueryFormatter const& Lightweight::SqlMigrationPlan::formatter

The SQL query formatter to use.

Definition at line 550 of file MigrationPlan.hpp.

◆ steps

std::vector<SqlMigrationPlanElement> Lightweight::SqlMigrationPlan::steps {}

The migration plan steps.

Definition at line 552 of file MigrationPlan.hpp.


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