You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from what I can tell query does not take :params to pass in parameters ? or else I am not understanding whats going on.
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:
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: