[ 
https://issues.apache.org/jira/browse/OLINGO-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153810#comment-14153810
 ] 

Mark Sztainbok commented on OLINGO-438:
---------------------------------------

Given the output from $count is always a number and that it can be used for 
filtering as per example 28, wouldn't it make more send for readCount to just 
return the actual numerical count and for the framework to do the serialization 
instead of requiring the implementor to do the serialization and possibly do it 
incorrectly. Also the current implementation does not allow for the count to be 
used for filtering.

> $Count of a Collection is not supported
> ---------------------------------------
>
>                 Key: OLINGO-438
>                 URL: https://issues.apache.org/jira/browse/OLINGO-438
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: V4 4.0.0-beta-01
>            Reporter: Ramesh Reddy
>            Assignee: Michael Bolz
>            Priority: Critical
>             Fix For: (Java) V4 4.0.0-beta-02
>
>
> Currently "Count of Collection" from OData Spec 
> http://docs.oasis-open.org/odata/odata/v4.0/os/part2-url-conventions/odata-v4.0-os-part2-url-conventions.html#_Toc372793785
> is not supported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to