Replies: 3 comments 5 replies
-
@thetutlage please suggest me a solution. |
Beta Was this translation helpful? Give feedback.
1 reply
-
query.sum('(time_in_mintues * occurance) AS totalOprationTime') Or query.raw('SUM(time_in_mintues * occurance) AS totalOprationTime') Might differ based on what DB you are using |
Beta Was this translation helpful? Give feedback.
3 replies
-
You can use Example:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Team,
I want to use
like raw query sum(col1 * col2)
How to achieve this?
Thnaks.
Beta Was this translation helpful? Give feedback.
All reactions