28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$count<br />

This request allows you to return the number of records in an Entity Set instead of the details of the Entity Set. It is<br />

basically the same as using a SELECT COUNT(*) in an SQL Statement without top limitation.<br />

● URI Construct:<br />

/.xsodata//$count<br />

● Sample URI:<br />

http://hanaxs:8000/sample/hello/hello_odata.xsodata/Entries/$count<br />

● Sample Output:<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Defining Web-based Data Access<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!