Namespace sap.ui.model.odata.CountModeModule: sap/ui/model/odata/CountMode


Different modes for retrieving the count of collections

Field Summary
sap.ui.model.odata.CountMode.BothCount is retrieved by a separate request upfront and inline with each data request
sap.ui.model.odata.CountMode.InlineCount is retrieved by adding $inlinecount=allpages and is included in the data request
sap.ui.model.odata.CountMode.InlineRepeatCount is retrieved by adding $inlinecount=allpages and is included in every data request
sap.ui.model.odata.CountMode.NoneCount is not requested from the server
sap.ui.model.odata.CountMode.RequestCount is retrieved by sending a separate $count request, before requesting data
Field Detail
sap.ui.model.odata.CountMode.Both
Count is retrieved by a separate request upfront and inline with each data request
sap.ui.model.odata.CountMode.Inline
Count is retrieved by adding $inlinecount=allpages and is included in the data request
sap.ui.model.odata.CountMode.InlineRepeat
Count is retrieved by adding $inlinecount=allpages and is included in every data request
sap.ui.model.odata.CountMode.None
Count is not requested from the server
sap.ui.model.odata.CountMode.Request
Count is retrieved by sending a separate $count request, before requesting data