-
Notifications
You must be signed in to change notification settings - Fork 191
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
[0.6.0] Arguments mapped incorrectly in raw query #224
Labels
feature
Request and implementation of a feature (release drafter)
Comments
This was referenced May 5, 2020
This is roughly the same feature as #142 . |
Closed
23 tasks
This is still an issue, lost an hour until I figured out I had to position the arguments according to the query usage order. |
This was referenced Mar 16, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Vitus,
Using the same example as in #223, I also noticed that arguments were being mapped positionally and not as per the names they were given in the query
So, the following in the DAO
results in the following
The issue is with
arguments
. It should bearguments: <dynamic>[rating, hasTarget, numResults, id]
I have been assuming that the query string in DAO is parsed and the names of the arguments are used to find which goes where. Thus far, my queries have been simple, single-argument
queries. Hence this issue didn't show. But it did when I wrote my first multi-argument query.
Thanks
Abhinav.
The text was updated successfully, but these errors were encountered: