Get Record List Query (with order by, limit, offset)

Get Record List Query (with order by, limit, offset) - kintone.app.getQuery()

Retrieves the record list filter conditions as a query string, including "order by", "limit" and "offset"

Function

Desktop

kintone.app.getQuery()

Mobile

kintone.mobile.app.getQuery()

Parameters

None

Response

  • String or null.
  • Null is returned for pages where it cannot be used.
  • If there are no filter conditions on the record list, a query list with only "order by", "limit" and "offset" will be returned.
  • If there are no sort conditions on the record list, a query list with only "limit" and "offset" will be returned.

Sample

1
2
3
4
5
var query = kintone.app.getQuery();
console.log(query);

// Sample Response
// 'record_id <= "5" and creator in ("john-d") order by record_id desc limit 5 offset 10'

Available Pages

  • Record List
  • Graph