[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-702) Define the behaviour of system query option $count and path segment /$count in combination with $apply
[ https://issues.oasis-open.org/browse/ODATA-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-702:
-----------------------------
Environment: Applied (was: [Proposed])
> Define the behaviour of system query option $count and path segment /$count in combination with $apply
> -------------------------------------------------------------------------------------------------------
>
> Key: ODATA-702
> URL: https://issues.oasis-open.org/browse/ODATA-702
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData Extension for Data Aggregation
> Affects Versions: V4.0_CSD01
> Environment: Applied
> Reporter: Martin Zurmuehl
> Assignee: Ralf Handl
> Fix For: V4.0_CSD03
>
>
> Assume GET ~/Products/$count results in 100.
> Assume GET ~/Products?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total)) results in a set with 4 entries (see example 50)
> What is the response for GET ~/Products/$count?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total))?
> What is the value of @odata.count in the response for GET ~/Products?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total))&$count=true?
> My proposal is: in both cases 4.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]