Skip to content
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

fix: bindArray on SELECT from VALUES list #811

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xyz1hang
Copy link

  • fixBound currently assumes named var in VALUES is only from INSERT
  • bindArray is not populating the right number of placeholders

Ideally the regex should be something like: (?<!(?i)into)\W+(?i)VALUES\s*\( but Golang regex doesn't support look around

@haton14
Copy link

haton14 commented May 23, 2022

WDYT about merging this? @jmoiron
Together, this issue seems to be solved.#796

@masv87
Copy link

masv87 commented Jul 26, 2022

@jmoiron We are suffering a lot from this bug, please merge.

@amirhood
Copy link

@jmoiron +1
Our destiny depends on this fix. Please review and merge if possible. Thanks.

@tylerstillwater
Copy link

I'd also love to see this merged so #796 could be solved.

@dlsniper dlsniper added could merge The PR look safe enough to merge needs testing The PR needs more testing before being accepted labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could merge The PR look safe enough to merge needs testing The PR needs more testing before being accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants