introduced execute_result
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user