Java API - XPathSchemaQuery

1
Hi all, I found that for doing a query in Java there’s also this API: https://apidocs.rnd.mendix.com/8/runtime/com/mendix/datastorage/XPathSchemaQuery.html which has a method setShouldRetrieveCount(...). Does it mean the query will retrieve the total amount even if a limit amount is set? And how would you be able to access that count after executing the query? regards, Fabian
asked
1 answers
0

Hi Fabian,

I believe it does not affect the amount you are retrieving, only that in the response there wil be an indicator of the total amount of records that match your query. This total amount can be higher than the actual retrieved amount because of a limit-setting.

Does that make sense?

answered