Build SQL Query to Execute from Where/Filter in Loopback4 #7746
sohaibahsan007
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a situation where I need to get a sum of some columns. I can only do that using a custom execution of SQL query. It will be very helpful if, I can use existing where and filter Params to builder SQL query, so when I query results from the front-end, I can get the sum of columns, count, and result using a single where/filter.
Something that knex.js is trying to do.
For Example, I have tried to do it using knex.js with Postgre.
Beta Was this translation helpful? Give feedback.
All reactions