You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by "Naser, Moneer" <mo...@sap.com> on 2016/01/24 11:37:52 UTC
number of results returned
Hi guys,
Is there a way to add the number of results returned? Or this is not needed, because the client consuming the data has this information?
Thanks,
Moneer
Re: number of results returned
Posted by mibo <mi...@apache.org>.
Hi Moneer,
for OData V2 the „$inlinecount“ system query option exists:
http://www.odata.org/documentation/odata-version-2-0/json-format/#RepresentingCollectionsOfEntries
http://www.odata.org/documentation/odata-version-2-0/uri-conventions/#InlinecountSystemQueryOption
for OData V4 this war replaced with the „$count“ system query option:
http://docs.oasis-open.org/odata/new-in-odata/v4.0/cn01/new-in-odata-v4.0-cn01.html#_Toc366145450
http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398308
Kind Regards,
Michael
> On Jan 24, 2016, at 11:37 AM, Naser, Moneer <mo...@sap.com> wrote:
>
>
> Hi guys,
>
>
> Is there a way to add the number of results returned? Or this is not needed, because the client consuming the data has this information?
>
>
>
>
>
> Thanks,
>
>
> Moneer
>
>
>
>
>
>