tomjaguarpaw / haskell-opaleye

Other
602 stars 115 forks source link

Fix typo in turorial #517

Closed cmcaine closed 3 years ago

cmcaine commented 3 years ago

Hi!

I'm not a haskeller, but this looks right to me. Sorry if this is noise!

tomjaguarpaw commented 3 years ago

Hi, thanks for the interest in Opaleye! As you can see from the test results the original formulation was correct. On the SQL side we have a Select of "fields" and it turns into a normal Haskell value when you run the Select. It's no problem to have raised the issue though.

If you're not a Haskeller I'm curious what brought you here. Was it my post on HN?

cmcaine commented 3 years ago

Aye, that does make sense, probably shouldn't try to think before breakfast :)

Someone linked opaleye in this thread: https://lobste.rs/s/jxeg1b/against_sql mentioning it as a good SQL library, so I just thought I'd take a look and it does seem good from what I did understand!

All the best,

tomjaguarpaw commented 3 years ago

Ah, interesting. I hadn't seen that. Thanks!

You might also be interested in https://rel8.readthedocs.io/en/latest/ which is a wrapper on top of Opaleye that is more user friendly in some ways.