[−][src]Function eosio_cdt_sys::db_idx256_store
pub unsafe extern "C" fn db_idx256_store(
scope: u64,
table: capi_name,
payer: capi_name,
id: u64,
data: *const uint128_t,
data_len: u32
) -> i32
Store an association of a 256-bit secondary key to a primary key in a secondary 256-bit index table
@brief Store an association of a 256-bit secondary key to a primary key in a secondary 256-bit index table
@param scope - The scope where the table resides (implied to be within the code of the current receiver)
@param table - The table name
@param payer - The account that pays for the storage costs
@param id - The primary key to which to associate the secondary key
@param data - Pointer to the secondary key data stored as an array of 2 uint128_t
integers
@param data_len - Must be set to 2
@return iterator to the newly created table row
@post new secondary key association between primary key id
and the specified secondary key is created in the secondary 256-bit index table