haskelldb
haskelldb copied to clipboard
A library for building re-usable and composable SQL queries.
The current version at http://hackage.haskell.org/package/haskelldb doesn't include the **GHC 8.0** compatibility patch. I just patched it myself, only to find out it's already been done -.-
I already posted this to the mailing list, but I haven't heard back after two weeks, so I'll give GitHub a shot here. Apologies up front as I'm not the...
The semantics of HaskellDB's aggregation operators is very unclear. Let me propose the following example to demonstrate my confusion. It concerns a table whose rows represent people. A person has...
If I aggregate twice in a row I seem to get malformed SQL. For example with this code ``` import Database.HaskellDB.PrimQuery import Database.HaskellDB.Query import Database.HaskellDB.DBLayout data Apples = Apples instance...
``` import Database.HaskellDB import Database.HaskellDB.PrimQuery import Database.HaskellDB.Query import Database.HaskellDB.DBLayout data Name' = Name' instance FieldTag Name' where fieldName _ = "name" data Apples = Apples instance FieldTag Apples where fieldName...
If I have a table `A`, and I sum a numeric column while grouping by a string column (say) the string column in the resulting table `B` has the property...
Installs fail due to haskelldb-2.2.2. They work with -2.2.1. An example from a larger `cabal install --only-dependencies` of a project including `build-depends: haskelldb`. ``` ... Failed to install haskelldb-2.2.2 Last...
Hi, is there any discussion about supporting outer joins? i looked a lot in google and i couldn't find it. I know it's because of the non-nullable fields becoming automatically...
Hello, I'm a beginner in haskell and i have a problem using haskelldb. I've developped this code : http://hpaste.org/76300 When i use ghci, it works like a charm. However, when...
After running `cabal init` I tried adding `haskelldb` to `.cabal` file, e.g. ``` build-depends: base, haskelldb ``` But cannot `cabal build` ``` $ cabal build | tail Error: cabal: Failed...