[−][src]Function eosio_cdt_sys::db_idx256_update
pub unsafe extern "C" fn db_idx256_update(
iterator: i32,
payer: capi_name,
data: *const uint128_t,
data_len: u32
)
Update an association for a 256-bit secondary key to a primary key in a secondary 256-bit index table
@brief Update an association for a 256-bit secondary key to a primary key in a secondary 256-bit index table
@param iterator - The iterator to the table row containing the secondary key association to update
@param payer - The account that pays for the storage costs (use 0 to continue using current payer)
@param data - Pointer to the new secondary key data (which is stored as an array of 2 uint128_t
integers) that will replace the existing one of the association
@param data_len - Must be set to 2
@pre iterator
points to an existing table row in the table
@post the secondary key of the table row pointed to by iterator
is replaced by the specified secondary key