peterjohnlawrence / com.inova8.odata2sparql.v4

Part of the overall odata2sparql solution, this odata2sparql.v4 module containing the olingo4 dependencies. In other words specifically for odata v4
http://inova8.com/bg_inova8.com/offerings/odata2sparql/
Apache License 2.0
5 stars 5 forks source link

Add support for $count #68

Closed peterjohnlawrence closed 6 years ago

peterjohnlawrence commented 6 years ago

http://localhost:8080/odata2sparql.v4/NW2/Employee?$count=true&$format=json

Should return count of Employee

http://localhost:8080/odata2sparql.v4/NW2/Employee?$expand=employeeRegion($count=true)&$format=json

Should return counts of employeeRegion for each employee

Note if count =true for $expand without select defined then we should not assume select=*

peterjohnlawrence commented 6 years ago

Fixed