Documentation Index
Fetch the complete documentation index at: https://errand.nuvrel.dev/llms.txt
Use this file to discover all available pages before exploring further.
slice(list, start_index, end_index) returns the elements of list from index start_index (inclusive) to end_index (exclusive).
Signature
Example
Run only the first batch of migration files in a staged rollout, deferring the rest to a later run:batch_size of 2, only 001_create_users.sql and 002_add_email_index.sql are applied.
Notes
start_indexis inclusive,end_indexis exclusive.slice(list, 0, 2)returns elements at index0and1.- If
end_indexequalsstart_index, the result is an empty list. slicealso works on tuples. When applied to a tuple, the result is a tuple.- Indices out of bounds produce an error.