introduced execute_result

This commit is contained in:
Sascha Kühl
2026-02-10 11:57:09 +01:00
parent d9f9712487
commit 99677b0e21
28 changed files with 158 additions and 170 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ TEST_CASE_METHOD(TypeTraitsTestFixture, "Special handling of attributes with typ
.values(loc)
.execute(db);
REQUIRE(res.is_ok());
REQUIRE(*res == 1);
REQUIRE(res->affected_rows == 1);
auto result = query::select(generator::columns<location>(repo))
.from("location")
@@ -61,7 +61,7 @@ TEST_CASE_METHOD(TypeTraitsTestFixture, "Special handling of attributes with typ
auto res = stmt->bind(loc)
.execute();
REQUIRE(res.is_ok());
REQUIRE(*res == 1);
REQUIRE(res->affected_rows == 1);
auto result = query::select(generator::columns<location>(repo))
.from("location")