karamaan / karamaan-opaleye

Other
11 stars 7 forks source link

OUTER JOIN not supported #5

Open tomjaguarpaw opened 10 years ago

tomjaguarpaw commented 10 years ago

There should be some support for OUTER JOIN.

tomjaguarpaw commented 10 years ago

HaskellDB does not support OUTER JOIN, so the first thing to do would be to add them there.

tomjaguarpaw commented 10 years ago

Hacked up a LEFT JOIN without touching HaskellDB. Eventually we'll make our own internal AST and implement this more nicely but the API will stay the same.

https://github.com/karamaan/karamaan-opaleye/blob/dev/Karamaan/Opaleye/LeftJoin.hs

tomjaguarpaw commented 10 years ago

I would welcome some comments on how this works in practice.

bergmark commented 10 years ago

Seems to work fine, except for #61