We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#983 was closed without any comment mistakenly.
Thank you again for the amazing query builder! It would be nice if the following query were supported:
-- mysql select * from customer c, lateral (select 6371 * distance_formula) as distance where longitude is not null;
This means:
fromLateral
selectNoFrom
Currently, I am using the following workaround. Please also pay attention to sql`dual` as any to overcome typings.
sql`dual` as any
.innerJoinLateral(({ selectFrom, val, ref }) => selectFrom(sql`dual` as any) .select(sql`(6371 * distance_formula)`.as('distance')) .as('distance'), join => join.onTrue() )
The text was updated successfully, but these errors were encountered:
Hey @koskimas , any comment?
Sorry, something went wrong.
No branches or pull requests
#983 was closed without any comment mistakenly.
Thank you again for the amazing query builder! It would be nice if the following query were supported:
This means:
fromLateral
.selectNoFrom
in laterals.Currently, I am using the following workaround. Please also pay attention to
sql`dual` as any
to overcome typings.The text was updated successfully, but these errors were encountered: