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

Prepared.setArgs should accept range of variants #196

Open
schveiguy opened this issue Aug 5, 2019 · 0 comments
Open

Prepared.setArgs should accept range of variants #196

schveiguy opened this issue Aug 5, 2019 · 0 comments
Labels

Comments

@schveiguy
Copy link
Collaborator

I have a wrapper library that sets parameters based on an array of variants inside my type. I am migrating this to several arrays of variants because they may be built in different orders, but the SQL statement has to have the parameters in a specific order. I had thought maybe I could set all the parameters using setArgs and chain, but it only accepts an array.

This could easily be updated to accept a range, by changing the _inParams[] = args[] call to copy(args, _inParams).

@schveiguy schveiguy added the api label Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant