-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to select from functions #71
Comments
I think this is actually possible in Opaleye, we need to use the |
Yea, I think I mentioned that in private on Slack - but I'm not even sure if Opaleye uses that constructor! Maybe just left-over from forking from HaskellDB :) Either way, that looks like the right tool. |
|
I've just run into this issue too, I was wondering if it's possible to treat a field which is Does anyone have any example code for haw you might be able to do that? This would be a killer app for us if we could use it, we have a lot of tables with the same schema where each table has some metadata columns and a payload column as JSONB. |
As mentioned by @ocharles here, it's not yet possible to select from a function result. This is something that will be fairly critical for constructing more complex JSON-related queries.
The text was updated successfully, but these errors were encountered: