BREAKING CHANGE in WixDataQueryResult

I noticed that WixDataQueryResult is missing pagination properties. According to the documentation, WixDataQueryResult should have properties: pageSize, currentPage, partialIncludes, totalPages. Those properties are missing from my results

test site (see console)

Needless to say, it breaks all custom pagination.

Are you aware of that breaking change? Could you confirm it?
Are you going to address this soon?
Could you notify us once this has been solved?

@sheyla

Thank you

Hi Quentin,

We are looking into this

thanks

Hi Quentin,

property exists. As it is calculated, it is not showing up when printing the object. If you tried something like

const result = await wixData.query('SomeCollection').find();
console.log(result.currentPage);

you would find it is there.

I hope it helps.

@giedrius-grazevicius thx for you message:

Indeed the properties are not displayed on the console log but are accessible nonetheless. Pretty strange.

Also, my code is functioning but at the time of posting it was not

1 Like

@plomteuxquentin Way to go! Going where no-one has gone before, bold or not.

1 Like