Is the documentation of WixDataQueryResult on this page https://www.wix.com/corvid/reference/wix-data.WixDataQueryResult.html not updated?

When I am getting a WixDataQueryResult using wixDataQuery and find(), I am getting the following object keys-
Items, length, totalCount, query, InvalidArguments, filterTree, provider, collectionName, limitNumber, skipNumber, included

however, as per this documentation, the object should have Items, length, totalCount, query, currentPage, TotalCount, TotalPages, pageSize, particalIncludes, currentPage etc?

What am I missing?

It returns everything. Try this code on your query.

wixData.query('myCollection')
.find()
.then( (res) => {
   let currentPage = res.currentPage;
   let totalCount = res.totalCount;
   let totalPages = res.totalPages;
   let pageSize = res.pageSize;
   console.log({currentPage,totalCount,totalPages,pageSize});
});

partialIncludes is for referenced items

He might be confused because they don’t appear if you toString() the object or try to run it through Object.keys().

Thanks Shan. I will try it.

Yes, Lee. I was viewing the objecting by Stringifying it and saw only a few keys.