Skip to content

Commit

Permalink
Test Highlight:
Browse files Browse the repository at this point in the history
queries::distinct::distinct::with_duplicates
  • Loading branch information
Druue committed Nov 9, 2023
1 parent 1494b33 commit cdf6076
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mod distinct {

assert_query!(
runner,
"query { findManyUser(distinct: [first_name, last_name]) { id, first_name, last_name } }",
"query { findManyUser(distinct: [first_name, last_name], orderBy: {id: asc}) { id, first_name, last_name } }",
r#"{"data":{"findManyUser":[{"id":1,"first_name":"Joe","last_name":"Doe"},{"id":2,"first_name":"Hans","last_name":"Wurst"}]}}"#
);

Expand Down

0 comments on commit cdf6076

Please sign in to comment.