prowdsponsor / esqueleto

Bare bones, type-safe EDSL for SQL queries on persistent backends.
http://hackage.haskell.org/package/esqueleto
BSD 3-Clause "New" or "Revised" License
177 stars 51 forks source link

Add "row_number" function #138

Open lukebitts opened 8 years ago

lukebitts commented 8 years ago

Just a sugestion. I'm working on a project where I need the row number but it is different from the auto-generated id. My solution was to zip the result with an int list ([0..]).