|
ORM C++
|
Public Member Functions | |
| MigrationProject (std::filesystem::path directory) | |
| auto | directory () const noexcept -> const std::filesystem::path & |
| auto | backends () const noexcept -> std::span< const db::BackendType > |
| auto | latestSnapshot () const -> SchemaSnapshot |
| auto | draftVersion () const -> std::optional< Version > |
| auto | catalog () const -> Catalog |
| auto | compare (model::SchemaView models, const GenerationDecisions &decisions={}) const -> SchemaDiff |
| auto | make (std::string name, model::SchemaView models, const GenerationDecisions &decisions={}) -> Version |
| auto | makeManual (std::string name, model::SchemaView models) -> Version |
| auto | finalize (Version version, model::SchemaView models, bool acceptSchema) -> void |
Static Public Member Functions | |
| static auto | init (const std::filesystem::path &directory, std::span< const db::BackendType > backends=generationBackends) -> MigrationProject |
Definition at line 219 of file migrations.cppm.
|
explicit |
|
nodiscardnoexcept |
|
nodiscard |
|
nodiscard |
|
nodiscardnoexcept |
|
nodiscard |
| auto orm::migrations::MigrationProject::finalize | ( | Version | version, |
| model::SchemaView | models, | ||
| bool | acceptSchema ) -> void |
|
staticnodiscard |
|
nodiscard |
| auto orm::migrations::MigrationProject::make | ( | std::string | name, |
| model::SchemaView | models, | ||
| const GenerationDecisions & | decisions = {} ) -> Version |
| auto orm::migrations::MigrationProject::makeManual | ( | std::string | name, |
| model::SchemaView | models ) -> Version |