postgrelize / FindAndCountResult
Type Alias: FindAndCountResult<M, C> ​
FindAndCountResult<
M,C> =object
Defined in: src/model/find-options.ts:19
Result of findAndCountAll: one page of rows plus the total count (an array of GroupedCountResultItem with group).
Type Parameters ​
M ​
M
C ​
C = number
Properties ​
count ​
count:
C
Defined in: src/model/find-options.ts:21
Total number of matching rows, ignoring limit / offset.
rows ​
rows:
M[]
Defined in: src/model/find-options.ts:23
Rows of the current page.