circuithub / rel8

Hey! Hey! Can u rel8?
https://rel8.readthedocs.io
Other
150 stars 38 forks source link

Support selecting from table-returning functions with `queryFunction` #241

Closed shane-circuithub closed 12 months ago

shane-circuithub commented 1 year ago

Depends on opaleye#567.

shane-circuithub commented 1 year ago

@ocharles I'm also tempted to change Rel8.Expr.Function.function to just (Table Expr input, Sql DBType output) => input -> Expr output instead of the weird variadic argument stuff we have currently. Then you could just supply multiple arguments with a tuple. I think that's better for type inference. What do you think?

shane-circuithub commented 1 year ago

This would fix #71.