skip method

void skip(
  1. int skipCount
)
inherited

The number of objects to skip before returning any. skipCount No of objects to skip from returned objects you can chain this call using double dot.

The skip parameter can be used for pagination, skip specifies the number of objects to skip in the response. Example:

var stack = contentstack.Stack( "apiKey", "deliveryToken", "environment");
var query = stack.contentType("contentTypeUid").entry().query();
query.skip(2);

Implementation

void skip(int skipCount) {
  queryParameter['skip'] = skipCount.toString();
}