SelectOperation.opSlice

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
static if(!hasOffset && !hasLimit)
ulong[2]
opSlice
(
size_t dim
)
(
ulong start
,
ulong end
)

Meta