Skip to content

Commit

Permalink
api: add missing iterator constant
Browse files Browse the repository at this point in the history
Closes #285
  • Loading branch information
kokizzu authored and oleg-jukovec committed Apr 25, 2023
1 parent 888d74d commit 7d42609
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d42609

Please sign in to comment.