-
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
How can I use a data type parameter in the query function on the floor? #393
Comments
Example: Does not work @query(""" This code above does not work, but if I put it directly the value works @query(""" |
Please elaborate. What do you mean with "does not work"? Do you get an error message? @query("""
SELECT Coleta.*,
( select sum(ItemColeta.PD_QTD)
from ItemColeta
where ItemColeta.MCO_COD = Coleta.MCO_COD
) as MCO_TOTAL
FROM Coleta
WHERE MCO_DTAGENDA <= :data
and MCO_STATUS = :status
ORDER BY MCO_DTCOLETA
""")
Future<List> findStatusDataMenor(String data, int status); (Btw, the |
Thanks for the guidance I didn't pay attention to the order of the parameters and this was the problem, thank you very much! |
Thanks for the guidance I didn't pay attention to the order of the parameters and this was the problem, thank you very much! |
Solved! |
How can I use a data type parameter in the query function on the floor?
The text was updated successfully, but these errors were encountered: