|
ORM C++
|
Public Member Functions | |
| Runner (Database &database, Catalog catalog) | |
| auto | status () const -> Status |
| auto | validate () const -> void |
| auto | preview (Direction direction, std::optional< Version > target=std::nullopt) const -> Plan |
| auto | up (std::optional< Version > target=std::nullopt) -> void |
| auto | down (Version target) -> void |
| auto | baseline (Version target) -> void |
| auto | resolve (Version version, std::string_view expectedChecksum, Resolution resolution) -> void |
Friends | |
| struct | detail::RunnerAccess |
Borrows an idle connected Database; the Database must outlive this runner.
Definition at line 183 of file migrations.cppm.
| auto orm::migrations::Runner::baseline | ( | Version | target | ) | -> void |
| auto orm::migrations::Runner::down | ( | Version | target | ) | -> void |
|
nodiscard |
| auto orm::migrations::Runner::resolve | ( | Version | version, |
| std::string_view | expectedChecksum, | ||
| Resolution | resolution ) -> void |
Operator assertion after manually completing or reverting an incomplete script.
|
nodiscard |
| auto orm::migrations::Runner::up | ( | std::optional< Version > | target = std::nullopt | ) | -> void |
| auto orm::migrations::Runner::validate | ( | ) | const -> void |
|
friend |
Definition at line 197 of file migrations.cppm.