limited

limited Creates a subset of a set, limited to only some of the source set's items. Used when you only want some of the results of a set, such as, for exaple, the first 100 items This is useful for paging through results of lookups on large sets

Format:

limited(set,start,max(optional))

Parameters:

Parameter Type Description
set cloudset The set to draw the limited set fo items from
start number Where to start the subset from. Use 0 to designate the first item, not 1!
max number  [Optional]If provided, specifies the maximum number of items in the result set.

Examples

 all_items = subset(everything(),"is_an_item",true)
 first_100_items = limited(all_items, 0, 100) 
 second_100_items = limited(all_items,100,100)