You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ordered set of numeric intervals defined using BPTREE_DEF() and I would like to be able to search for a value in the set and then iterate to its predecessor (the previous value by order). But it appears that the BPTREE only allows forward iteration using name_next() function.
Is it possible to provide a name_prev() function to iterate toward the front of the set? Or does the internal structure not allow that currently?
Note that my request is for a backward traversal from an forward iterator, not a reverse iterator. Thanks!
The text was updated successfully, but these errors were encountered:
I have an ordered set of numeric intervals defined using
BPTREE_DEF()
and I would like to be able to search for a value in the set and then iterate to its predecessor (the previous value by order). But it appears that the BPTREE only allows forward iteration usingname_next()
function.Is it possible to provide a
name_prev()
function to iterate toward the front of the set? Or does the internal structure not allow that currently?Note that my request is for a backward traversal from an forward iterator, not a reverse iterator. Thanks!
The text was updated successfully, but these errors were encountered: