-
Notifications
You must be signed in to change notification settings - Fork 49
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
Params in query call possible ? #75
Comments
I have worked around it using the code below, by calling jdbc directly if this is not possible I may attempt a PR if that's of interest ?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been looking at the code here
toucan/src/toucan/db.clj
Line 284 in e8fbd6d
Tried a few things like
(db/query honey-sql-query :search "text")
But this does not work, the doc string says it takes a honey sql form which i Take it is just the hash map form before its passed to sql/format which has a :params keyword to allow you to injected name params into your query.
@camsaul is this possible am i missing something, or would toucan need to be extended to allow for this ?
The text was updated successfully, but these errors were encountered: