0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::db: Allow empty query to index through cursor.

This commit is contained in:
Jason Volk 2017-09-25 21:37:32 -07:00
parent b309793ed0
commit b2f7e360a1

View file

@ -42,11 +42,11 @@ struct ircd::db::cursor
struct index index;
const where_type *where{nullptr};
const_iterator end(const string_view &key);
const_iterator begin(const string_view &key);
const_iterator end(const string_view &key = {});
const_iterator begin(const string_view &key = {});
const_reverse_iterator rend(const string_view &key);
const_reverse_iterator rbegin(const string_view &key);
const_reverse_iterator rend(const string_view &key = {});
const_reverse_iterator rbegin(const string_view &key = {});
cursor(const string_view &index, const where_type *const &where = nullptr)
:index{*d, index}