Skip to content

Commit c60b460

Browse files
committed
api: add missing iterator constant
Closes #285
1 parent 888d74d commit c60b460

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

const.go

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,18 @@ const (
6868

6969
// https://github.com/fl00r/go-tarantool-1.6/issues/2
7070

71-
IterEq = uint32(0) // key == x ASC order
72-
IterReq = uint32(1) // key == x DESC order
73-
IterAll = uint32(2) // all tuples
74-
IterLt = uint32(3) // key < x
75-
IterLe = uint32(4) // key <= x
76-
IterGe = uint32(5) // key >= x
77-
IterGt = uint32(6) // key > x
78-
IterBitsAllSet = uint32(7) // all bits from x are set in key
79-
IterBitsAnySet = uint32(8) // at least one x's bit is set
80-
IterBitsAllNotSet = uint32(9) // all bits are not set
71+
IterEq = uint32(0) // key == x ASC order
72+
IterReq = uint32(1) // key == x DESC order
73+
IterAll = uint32(2) // all tuples
74+
IterLt = uint32(3) // key < x
75+
IterLe = uint32(4) // key <= x
76+
IterGe = uint32(5) // key >= x
77+
IterGt = uint32(6) // key > x
78+
IterBitsAllSet = uint32(7) // all bits from x are set in key
79+
IterBitsAnySet = uint32(8) // at least one x's bit is set
80+
IterBitsAllNotSet = uint32(9) // all bits are not set
81+
IterOverlaps = uint32(10) // key overlaps x
82+
IterNeighbor = uint32(11) // tuples in distance ascending order from specified point
8183

8284
RLimitDrop = 1
8385
RLimitWait = 2

0 commit comments

Comments
 (0)