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
When iterating an operation over the months I'm using while loop and a dynamic date variable in the SQL template.
while
I see something strange happens to the iterator variable within the SQL template.
Example:
let i = 0; while (i <= 1) { operate(`while ${i}`).queries(ctx => ` SELECT '${i}' AS value `); i++; }
I get the following compiled SQLs:
SELECT '2' AS value
forEach
for
ctx =>
Originally reported here: https://issuetracker.google.com/issues/365808530
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When iterating an operation over the months I'm using
while
loop and a dynamic date variable in the SQL template.I see something strange happens to the iterator variable within the SQL template.
Example:
I get the following compiled SQLs:
forEach
andfor
loops work OK,ctx =>
it works OK too.Originally reported here: https://issuetracker.google.com/issues/365808530
The text was updated successfully, but these errors were encountered: