ListPage

Classin kv_storecompute-sdk-cpp 0.7.0View source

Include fastly/kv_store.h to use this class.

Methods

into_keys

View source
std::vector<std::string> fastly::kv_store::ListPage::into_keys()

Returns a vector of the listed keys in the current page, consuming the page.

Returns

std::vector<std::string>
std::vector<std::string> fastly::kv_store::ListPage::keys() const

Returns a vector of the listed keys in the current page.

Returns

std::vector<std::string>
std::uint32_t fastly::kv_store::ListPage::limit() const

Returns the limit used in the List operation.

Returns

std::uint32_t
ListMode fastly::kv_store::ListPage::mode() const

Returns the mode used in the List operation.

Returns

next_cursor

View source
std::optional<std::string> fastly::kv_store::ListPage::next_cursor() const

Returns the next cursor of the List operation.

Returns

std::optional<std::string>
std::optional<std::string> fastly::kv_store::ListPage::prefix() const

Returns the prefix used in the List operation.

Returns

std::optional<std::string>