fixed some repository-related tests

This commit is contained in:
Sascha Kühl
2025-10-01 15:39:58 +02:00
parent 5d2d6d4a30
commit 12905e3df3
10 changed files with 45 additions and 15 deletions
+2
View File
@@ -39,6 +39,8 @@ public:
return columns;
}
static std::vector<column> generate(const object::repository &scm, const std::string &name, bool force_lazy = false);
template < class Type >
static std::vector<column> generate_has_many_to_many(const object::repository &scm, const bool force_lazy = false) {
const auto info = scm.info<Type>();
+1 -1
View File
@@ -15,7 +15,7 @@ namespace matador::sql {
class connection_pool;
struct identifiable_connection {
identifiable_connection(size_t id, connection conn);
identifiable_connection(size_t id, connection &&conn);
size_t id{};
connection conn;
};