You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
On typeorm we can use a function called getManyAndCount which can be used on querybuilder
that executes SQL query and returns entities and overall entities count (without limitation)
Describe the solution you'd like
Add a function getResultAndCount which returns the count and the entities as well
Example:
Is your feature request related to a problem? Please describe.
On typeorm we can use a function called
getManyAndCount
which can be used on querybuilderthat executes SQL query and returns entities and overall entities count (without limitation)
Describe the solution you'd like
Add a function
getResultAndCount
which returns the count and the entities as wellExample:
Describe alternatives you've considered
For now we can do,
Additional context
The typeorm implementation can be found here
https://github.com/typeorm/typeorm/blob/15a4eb942e2d794eb5975e7a9e8b16cfe478a026/src/query-builder/SelectQueryBuilder.ts#L1832
The text was updated successfully, but these errors were encountered: