[][src]Function eosio_cdt_sys::db_remove_i64

pub unsafe extern "C" fn db_remove_i64(iterator: i32)

Remove a record from a primary 64-bit integer index table

@brief Remove a record from a primary 64-bit integer index table @param iterator - Iterator to the table row to remove @pre iterator points to an existing table row in the table @post the table row pointed to by iterator is removed and the associated storage costs are refunded to the payer

Example:

@code int32_t itr = db_find_i64(receiver, receiver, table1, "alice"_n); eosio_assert(itr >= 0, "Alice cannot be removed since she was already not found in the table"); db_remove_i64(itr); @endcode