Page 1 of 1

Auto Query total Value?

PostPosted: Mon Mar 14, 2022 1:01 pm
by SBarnes
I thought Auto Queries such as for DB_Main would return in the total property the total records possible that could be available to be able to use with Skip and take but it seems to return zero all the time?

Re: Auto Query total Value?  Topic is solved

PostPosted: Mon Mar 14, 2022 1:05 pm
by Mike.Sheen
SBarnes wrote:I thought Auto Queries such as for DB_Main would return in the total property the total records possible that could be available to be able to use with Skip and take but it seems to return zero all the time?


You need to supply the Include=Total parameter - e.g.:

https://api.jiwa.com.au/queries/so_main ... AsRJznB_Ok
AutoQueryTotal.png