DISTINCT ON queries

Bug #374777 reported by Abel Deuring
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Storm
Fix Released
Medium
William Grant

Bug Description

It would be nice if Storm would support the generation of SQL queries containing a DISTINCT ON(column) clause

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

Can workaround with:
store.find(
  (SQL("DISTINCT ON (Table.field) 0 AS ignore"), Table),
  expr
  expr)

using DecoratedResultSet

William Grant (wgrant)
Changed in storm:
assignee: nobody → William Grant (wgrant)
status: New → In Progress
Thomas Herve (therve)
Changed in storm:
importance: Undecided → Medium
Thomas Herve (therve)
Changed in storm:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in storm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.