check
See check(Int).
Check if the {@link com.sap.cloud.mobile.kotlin.odata.QueryResult#result QueryResult.result} is valid with respect to the {@link com.sap.cloud.mobile.kotlin.odata.QueryResult#query QueryResult.query}. A result will be considered invalid if it is missing properties that were expected according to the use of {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#select(com.sap.cloud.mobile.kotlin.odata.PropertyPath...) DataQuery.select} or {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#expand(com.sap.cloud.mobile.kotlin.odata.PropertyPath...) DataQuery.expand} in the {@link com.sap.cloud.mobile.kotlin.odata.QueryResult#query QueryResult.query}.
- Throws:
-
{@link com.sap.cloud.mobile.kotlin.odata.QueryResultException} if the result is definitely not valid.
Parameters
Flags for fixing invalid OData payload