Skip to content

Commit

Permalink
Merge pull request #3811 from omid/patch-1
Browse files Browse the repository at this point in the history
Increase the `.order_by` limit to 5 again
  • Loading branch information
weiznich committed Sep 29, 2023
1 parent b6850a0 commit 935cfbc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion diesel/src/pg/query_builder/distinct_on.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ macro_rules! valid_ordering {
// If we would generate these impls up to max_table_column_count tuple elements that
// would be a really large number for 128 tuple elements (~64k trait impls)
// It's fine to increase this number at some point in the future gradually
diesel_derives::__diesel_for_each_tuple!(valid_ordering, 3);
diesel_derives::__diesel_for_each_tuple!(valid_ordering, 5);

/// A decorator trait for `OrderClause`
/// It helps to have bounds on either Col, Asc<Col> and Desc<Col>.
Expand Down
Loading

0 comments on commit 935cfbc

Please sign in to comment.