skip

open fun skip(count: Int): DataQuery

Set {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#skipCount DataQuery.skipCount} to specify the number of initial results to return.

Example using proxy classes:
open fun queryWithSkipExample(): kotlin.Unit
{
    val service = this.service;
    val query = DataQuery().skip(20).top(10);
    val customers = service.getCustomers(query);
    this.showCustomers(customers);
    Assert.isTrue(customers.size == 10,
        "/Users/home/xmkbuilder/data/jenkins/prod-build7010/w/a1o59enhtx/src/main/xs/examples/example.NorthwindProxyClient.xs:456:9");
}
Example using dynamic API:
open fun queryWithSkipExample(): kotlin.Unit
{
    val service = this.service;
    val customersEntitySet = service.getEntitySet("Customers");
    val query = DataQuery().from(customersEntitySet).skip(20).top(10);
    val customers = service.executeQuery(query).getEntityList();
    this.showCustomers(customers);
    Assert.isTrue(customers.length == 10,
        "/Users/home/xmkbuilder/data/jenkins/prod-build7010/w/a1o59enhtx/src/main/xs/examples/example.NorthwindClient.xs:498:9");
}

Return

This query.

Parameters

count

Number of initial results for query execution to skip.