Additional .Query
params silently fail if they are used on a raw query
#7085
Labels
.Query
params silently fail if they are used on a raw query
#7085
I have been guilty of using mix of raw query with additional query parameters several times so far. Each time I found out later, during testing, that additional query params were actually not performed, but the query was executed without errors.
The example:
if someLogic is true, this query is executed without error, but the where clause is not executed.
Motivation
I think it would be great to either error out, or support adding the parameter at the correct place in the raw query. Let me know if this makes sense. I would be open on working on this as well (creating a PR).
The text was updated successfully, but these errors were encountered: