Skip to content

How to build query with Group by Rollup or Cube? #58

Answered by juanluispaz
fullsailor asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

In that case you want to use a Sql expression (like a function call) that is not already mapped in the library, for this case you have the Sql fragments.

Hoy can put the Sql fragment in your query or create a reusable function in the DBConnection that generate that fragment for you; and use it as a value in your group by.

Let me know if that works for you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by juanluispaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants