meteficha/esqueleto — pull request #18 by bogiebro (2013-07-02 11:01:46+00:00)
Title: Adding some common functions 

Hi again,
I was wondering if it would be ok to add some common SQL functions. Aggregates like sum, avg, min and max are common enough it seems like they could be part of the EDSL. The same goes for rounding functions (round, ceiling, floor). Random has different behavior depending on the backend, but then esqueleto already assumes the user doesn't care about backend abstraction.

There's other functions that could be useful, but which have a different syntax depending on the backend, like regular expressions. But I'm assuming backend-specific syntax would be relegated to separate packages, no?