session progress
This commit is contained in:
@@ -196,7 +196,7 @@ utils::result<object::object_ptr<Type>, utils::error> statement::fetch_one() {
|
||||
});
|
||||
auto first = records.begin();
|
||||
if (first == records.end()) {
|
||||
return utils::failure(utils::error{error_code::FETCH_FAILED,"Failed to find entity."});
|
||||
return utils::failure(utils::error{error_code::FetchFailed,"Failed to find entity."});
|
||||
}
|
||||
|
||||
return utils::ok(first.optr());
|
||||
|
||||
Reference in New Issue
Block a user