Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hrueger committed Apr 20, 2024
1 parent 3364458 commit 5d6a692
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fn handle_one_to_many(
let query_result = parent_result.as_query_result().unwrap();

if let QueryResult::Count(c) = query_result {
if c != &expected_id_count {
if c < &expected_id_count {
return Err(QueryGraphBuilderError::RecordNotFound(format!(
"Expected {expected_id_count} records to be connected after connect operation on one-to-many relation '{relation_name}', found {c}.",
)));
Expand Down

0 comments on commit 5d6a692

Please sign in to comment.