-
Notifications
You must be signed in to change notification settings - Fork 48
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 statements for queries when not possible to use parameters #107
Comments
Personally I'm inclined to let the user decide what's best for their app from a security perspective. But if you have a proposal to make it easier for him to integrate with this driver, then I'm all for it. Thank you. |
Yep, to be honest I'm also not sure if this should exist in the driver or just managed by the end user. So, to give a bit more context, I've got a small personal project that sometimes needs labels to be passed as a variable to the function that calls the query, and I'm using something like this:
Where the
If implemented, I think it should be separate from the current What do you think? Is it worth to pursue it or not? |
sure, I don't see why not ¯\(ツ)/¯ Maybe introduced gradually first, as a utility kind of function?! And have some examples documented around it.. then promote it to the Query itself, based on user's interest .. something like that. |
Hey 👋
What do you think about a prepared statement function for queries, when parameters are not possible to use, for example in this case?
Something that would make it possible to do the following in a safe manner:
Does it make sense to add a mechanism to the package, or is it something that each application using this package should be taking care of on their side?
The text was updated successfully, but these errors were encountered: