SelectOperation.opIndex

Implementation detail, makes it possible to use [start .. end] on the select struct to set both offset and limit at the same time.

Start is inclusive, end is exclusive - mimicking how array slicing works.

struct SelectOperation(T, TSelect, bool hasWhere = false, bool hasOffset = false, bool hasLimit = false)
@safe return scope @trusted
static if(!hasOffset && !hasLimit)
SelectOperation!(T, TSelect, hasWhere, true, true)
opIndex
(
ulong[2] slice
)

Meta