Skip to content

Commit

Permalink
Enable distinct_on with postgres_backend
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 9, 2023
1 parent a4e6131 commit 721ec81
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 @@ -173,7 +173,7 @@ pub trait QueryDsl: Sized {
/// Animal::new("spider", None, 8)]), distinct_animals);
/// # }
/// ```
#[cfg(feature = "postgres")]
#[cfg(feature = "postgres_backend")]
fn distinct_on<Expr>(self, expr: Expr) -> DistinctOn<Self, Expr>
where
Self: methods::DistinctOnDsl<Expr>,
Expand Down

0 comments on commit 721ec81

Please sign in to comment.