View Full Version : [CLOSED] [#593] RestResult and totalCount

Nov 05, 2014, 9:49 AM
Good morning.

As the total number of records using RestResult indicated. It is able to use paging.

Just as with StoreResult can be used:

return new StoreResult(query, total);

Thank you very much.

Nov 05, 2014, 1:08 PM
Hi @threewonders,

That is a good question. I will discuss with colleagues if we can add the Total property for the RestResult class. I will let you know whatever we decide.

In any way, you can just use a StoreResult for the read action.

Nov 11, 2014, 3:36 PM
Created an Issue:

Done for v2 and v3 in the revisions #6153 and #6154.

It will go to the v2.5.4 and v3.0.0-RC releases.