moved dump schema method to class schema

This commit is contained in:
2026-01-07 09:09:17 +01:00
parent 099b72be05
commit dfd31cdf35
4 changed files with 9 additions and 6 deletions
+7
View File
@@ -218,6 +218,13 @@ schema::const_iterator schema::find(const std::string &name) const {
return schema_nodes_.find(result->get().type_index());
}
void schema::dump(std::ostream &os) const {
os << repo_.name() << std::endl;
for (const auto &node: repo_) {
os << " " << node.name() << std::endl;
}
}
sql::query_context schema::build_add_constraint_context(const object::repository_node &node,
const object::restriction &cons,
const sql::connection &conn) const {