#include <eosio/eosio.hpp>
#include <eosio/../../capi/eosio/db.h>
#include <limits>
#include <map>
#include <type_traits>
См. исходные тексты.
|
| namespace | Cleanup |
| | Очистка отработавших записей — общее для действия cleanup всех контрактов.
|
| |
|
| bool | Cleanup::row_exists (eosio::name code, uint64_t scope, eosio::name table, uint64_t primary_key) |
| | Есть ли в таблице строка с таким первичным ключом — без разбора строки. Подробнее...
|
| |
| template<typename Index > |
| bool | Cleanup::next_index_value (eosio::name code, uint64_t scope, uint64_t from, uint64_t &value) |
| | Следующее значение вторичного индекса uint64 не меньше from — без разбора строк. Подробнее...
|
| |
| template<typename Index , typename Pred > |
| void | Cleanup::erase_where (Index &index, budget &b, Pred pred) |
| | Удаляет строки индекса или таблицы, для которых выполнено условие. Подробнее...
|
| |
| template<typename Table > |
| void | Cleanup::erase_all (Table &table, budget &b) |
| | Удаляет все строки таблицы, которую код больше не читает и не пишет. Подробнее...
|
| |
| void | Cleanup::report (eosio::name contract, const budget &b) |
| | Итог вызова в консоль транзакции — его видит лог плейбука. Подробнее...
|
| |