QueryFunction

open class QueryFunction

Represents a OData query function. Query functions are typically used within {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#filter(com.sap.cloud.mobile.kotlin.odata.QueryFilter) DataQuery.filter}. {@link com.sap.cloud.mobile.kotlin.odata.QueryFunctionCall} can be constructed using static calls on {@link com.sap.cloud.mobile.kotlin.odata.QueryFunction} or, more conveniently, by chained calls on {@link com.sap.cloud.mobile.kotlin.odata.QueryValue}.//! @example example.NorthwindProxyClient.queryFunctionExample

Example using proxy classes (with QueryValue chained calls):
open fun queryValueFunctionExample(): kotlin.Unit
{
     val service = this.service;
     val query = DataQuery().filter(Customer.address.toLower().contains("king"));
     val customers = service.getCustomers(query);
     this.showCustomers(customers);
}

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var code: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

{@inheritDoc}