squeal
squeal copied to clipboard
Squeal, a deep embedding of SQL in Haskell
Hi, I'm trying to factorize some of my row decoding code and I'm wondering if something like the following is possible. The following currently doesn't work because of overlapping instances...
Positionally decode rows into products, either records or tuples. Resolves #330
There should be row decoders for common cases of tuples. How far up should it go? Maybe only up to `quadrupleRow`? ``` pairRow :: (FromValue x0 ty0, FromValue x1 ty1)...
This is a minimized example of [this doctest issue](https://github.com/sol/doctest/issues/327). ```Haskell -- | `PGType` is the promoted datakind of PostgreSQL types. -- -- >>> :set -XDataKinds -- >>> :kind 'PGbool --...
Add a module `Squeal.PostgreSQL.Tutorial` with a full-fledged tutorial for Squeal.
I’ve really been enjoying Squeal but often wonder if I’m using it the most effective way. I’d love to talk to other people who are using it. Would you be...
The question recently was asked at work: > Have you considered putting the select at the end instead of the beginning? C#’s LINQ ended up making that change in its...
I'm trying to compile a query returning 37 fields, using 14 joins, 1 single where clause, a group by on 33 fields, and a order by on 4 fields. Sadly,...
I have not been able to find Squeal analogs of the PostgreSQL operators `~`, `~*`, `!~` and `!~*` (https://www.postgresql.org/docs/12/functions-matching.html). Have I overlooked something, or do I need to implement them...
We should implement a squeal interface to https://www.postgresql.org/docs/10/largeobjects.html.