Skip to content

Commit

Permalink
Tweak some wordings from QueryDsl
Browse files Browse the repository at this point in the history
Co-authored-by: Georg Semmler <github@weiznich.de>
  • Loading branch information
pickfire and weiznich authored Mar 3, 2021
1 parent 488345c commit 89db4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diesel/src/query_dsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ pub trait QueryDsl: Sized {
/// let join = users::table.left_join(posts::table);
///
/// // By default, all columns from both tables are selected.
/// // Note, the structs must contain all the fields from original schemas in order.
/// // If no explicit select clause is used this means that the result type of this query must contain all fields from the original schema in order.
/// let all_data = join.load::<(User, Option<Post>)>(&connection)?;
/// let expected_data = vec![
/// (User::new(1, "Sean"), Some(Post::new(post_id, 1, "Sean's Post"))),
Expand Down

0 comments on commit 89db4ab

Please sign in to comment.