Replies: 2 comments 1 reply
-
Did you find any solution for this ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
https://docs.medusajs.com/learn/fundamentals/modules/db-operations#run-queries You can use raw sql with this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm currently working on a Medusa project v2 and need some help with using SQL aggregate functions like MAX, MIN, and AVG to query the database and select specific columns. I've been exploring ways to achieve this, but I'm unsure about how to implement these functions in my query using https://docs.medusajs.com/learn/advanced-development/module-links/query
Any advice or examples on how to correctly use these SQL operators, would be greatly appreciated!
Thanks in advance for your help :)
Beta Was this translation helpful? Give feedback.
All reactions