You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.
At the moment while it is possible to add scalar values (e.g. SELECT 1) with .function('1'), it is not possible to alias them, which is particularly useful in cases such as unions. For example:
SELECT 1 AS priority, col FROM a UNION SELECT 2 AS priority, col FROM b;
It is not possible to get the priority column from this query at the moment.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
At the moment while it is possible to add scalar values (e.g.
SELECT 1
) with.function('1')
, it is not possible to alias them, which is particularly useful in cases such as unions. For example:SELECT 1 AS priority, col FROM a UNION SELECT 2 AS priority, col FROM b;
It is not possible to get the priority column from this query at the moment.
The text was updated successfully, but these errors were encountered: