Travis Athougies
Travis Athougies
@Znack did you figure it out? Just realized I never saw your last question?
Hello, `beam-migrate-cli` is not yet complete... Sorry! Do not use it, except the `simple` commands to generate a Haskell schema from a database. I'm still figuring it out, but have...
Feel free to open up pull requests with new features. That being said: > Of course, that wouldn't work with two or more tables with the same type the ability...
Interesting. I'll take a look.
I believe it was intended, in the sense that I figured there wasn't anything particularly sensible. NULL in SQL means 'unknown' so having an 'unknown' row seems odd. That being...
Look in `Query/SQL92.hs`. That implements a 'compiler' from the free monad `Q` to the actual lower-level syntax. It's somewhat convoluted, because there's a lot of corner cases. Please add a...
@codygman FWIW, the mock sql backend is really only for debugging. Your example will likely work if used on an actual backend. Unfortunately, writing out the sql for a particular...
Interesting. I hadn't thought of that use case, but yeah, explicit casting is a good idea.
So I've been trying to implement this. One issue is that there is no 1-to-1 mapping of haskell to postgres types, so it's not always clear what type should be...
That certainly seems reasonable...