Database.Select but raw #1731
Answered
by
rodolphonetto
rodolphonetto
asked this question in
Help
-
Hello guys, there is a way to pass a select.raw like we do in whereRaw and so on? I need to do something like this
But it returns this error
Thanks :) |
Beta Was this translation helpful? Give feedback.
Answered by
rodolphonetto
Oct 9, 2020
Replies: 1 comment
-
I found out how to do that, you can do it like this
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rodolphonetto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found out how to do that, you can do it like this
query.select(Database.raw('priceEach * quantityOrdered as total'))