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

insertSelectCount equivalent to updateCount #124

Closed bitemyapp closed 8 years ago

bitemyapp commented 8 years ago

Seems to be missing? Cf. https://hackage.haskell.org/package/esqueleto-2.4.1/docs/Database-Esqueleto.html#v:insertSelect

meteficha commented 8 years ago

Should be very straightforward, just refactoring insertSelect à la update/updateCount and adding sanity unit tests. Do you want to take a stab at it?

bitemyapp commented 8 years ago

Do you want to take a stab at it?

@meteficha charge me with knife crime pls

meteficha commented 8 years ago

Fixed by #125.