Skip to content

By default, the maximum number of results displayed per page is 200 for documents and 1000 for objects. In v20.3+, use the PAGESIZE clause to limit the number of results returned per page.

Using PAGESIZE does not change the total number of results found, only the number displayed per page.

Learn more about limiting page results.

If you’re using VQL version v20.2 or lower, you must use LIMIT instead of PAGESIZE. If you use both LIMIT and PAGESIZE in a query, the query ignores LIMIT.

SELECT {fields} FROM {query target} PAGESIZE {number}

The following are examples of queries using PAGESIZE.

The following query returns 25 documents per page:

SELECT id FROM documents PAGESIZE 25

By default, the maximum number of results displayed per page is 200 for documents and 1000 for objects. Use the LIMIT clause to limit the number of results returned per page.

Using LIMIT does not change the total number of results found, only the number displayed per page.

Learn more about limiting page results.

SELECT {fields} FROM {query target} LIMIT {number}

The following are examples of queries using LIMIT.

The following query returns 25 documents per page:

SELECT id FROM documents LIMIT 25