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

Support parameterized queries #7

Open
brendanlong opened this issue Apr 12, 2017 · 0 comments
Open

Support parameterized queries #7

brendanlong opened this issue Apr 12, 2017 · 0 comments

Comments

@brendanlong
Copy link
Contributor

brendanlong commented Apr 12, 2017

Right now there doesn't seem to be any safe way to pass strings into the queries.

It would be nice if dbsafestr was exposed, and even nicer if there was a way to pass parameters to queries, like Dblib.exec db "SELECT * FROM x WHERE a = %s and b = %d" ~params:[String "a", Int 2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants