mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
ircd::db: Allow empty query to index through cursor.
This commit is contained in:
parent
b309793ed0
commit
b2f7e360a1
1 changed files with 4 additions and 4 deletions
|
@ -42,11 +42,11 @@ struct ircd::db::cursor
|
||||||
struct index index;
|
struct index index;
|
||||||
const where_type *where{nullptr};
|
const where_type *where{nullptr};
|
||||||
|
|
||||||
const_iterator end(const string_view &key);
|
const_iterator end(const string_view &key = {});
|
||||||
const_iterator begin(const string_view &key);
|
const_iterator begin(const string_view &key = {});
|
||||||
|
|
||||||
const_reverse_iterator rend(const string_view &key);
|
const_reverse_iterator rend(const string_view &key = {});
|
||||||
const_reverse_iterator rbegin(const string_view &key);
|
const_reverse_iterator rbegin(const string_view &key = {});
|
||||||
|
|
||||||
cursor(const string_view &index, const where_type *const &where = nullptr)
|
cursor(const string_view &index, const where_type *const &where = nullptr)
|
||||||
:index{*d, index}
|
:index{*d, index}
|
||||||
|
|
Loading…
Reference in a new issue