From c60b460a8f036a07917d9dee7c26611cbd1bdb61 Mon Sep 17 00:00:00 2001 From: Kiswono Prayogo Date: Tue, 25 Apr 2023 21:41:29 +0700 Subject: [PATCH] api: add missing iterator constant Closes #285 --- const.go | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/const.go b/const.go index 29bcc101b..4b6458645 100644 --- a/const.go +++ b/const.go @@ -68,16 +68,18 @@ const ( // https://github.com/fl00r/go-tarantool-1.6/issues/2 - IterEq = uint32(0) // key == x ASC order - IterReq = uint32(1) // key == x DESC order - IterAll = uint32(2) // all tuples - IterLt = uint32(3) // key < x - IterLe = uint32(4) // key <= x - IterGe = uint32(5) // key >= x - IterGt = uint32(6) // key > x - IterBitsAllSet = uint32(7) // all bits from x are set in key - IterBitsAnySet = uint32(8) // at least one x's bit is set - IterBitsAllNotSet = uint32(9) // all bits are not set + IterEq = uint32(0) // key == x ASC order + IterReq = uint32(1) // key == x DESC order + IterAll = uint32(2) // all tuples + IterLt = uint32(3) // key < x + IterLe = uint32(4) // key <= x + IterGe = uint32(5) // key >= x + IterGt = uint32(6) // key > x + IterBitsAllSet = uint32(7) // all bits from x are set in key + IterBitsAnySet = uint32(8) // at least one x's bit is set + IterBitsAllNotSet = uint32(9) // all bits are not set + IterOverlaps = uint32(10) // key overlaps x + IterNeighbor = uint32(11) // tuples in distance ascending order from specified point RLimitDrop = 1 RLimitWait = 2