expect

open fun expect(type: DataType): DataQuery

Set {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#expectedType DataQuery.expectedType} and {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#expectSingle DataQuery.expectSingle}, depending on the type parameter.

Return

This query.

Parameters

type

Expected type.