Lucee Function Reference

queryslice()

creates a new query containing a part of the given query

Example

queryslice(query query,number offset,[number length]):query

Category

query

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
query query  Yes Name of the query to slice  
offset number  Yes The first row to include in the new query  
length number  No The number of rows to include in the new query, defaults to all remaining rows