-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Milestone
Description
distinctOn is a bit weird.
distinctOn :: [SqlExpr DistinctOn] -> SqlQuery a -> SqlQuery a
distinctOn exprs act = Q (W.tell mempty { sdDistinctClause = DistinctOn exprs }) >> actIt might as well just be distinctOn :: [SqlExpr DistinctOn] -> SqlQuery ().
Also, the docs indicate it only works on Postgres.
I propose we deprecate the term, and move the SqlQuery () variant into Database.Esqueleto.Postgres.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels