[−][src]Function eosio_cdt_sys::db_idx128_find_secondary
pub unsafe extern "C" fn db_idx128_find_secondary(
code: capi_name,
scope: u64,
table: capi_name,
secondary: *const uint128_t,
primary: *mut u64
) -> i32
Find a table row in a secondary 128-bit integer index table by secondary key
@brief Find a table row in a secondary 128-bit integer index table by secondary key
@param code - The name of the owner of the table
@param scope - The scope where the table resides
@param table - The table name
@param secondary - Pointer to secondary key used to lookup the table row
@param primary - Pointer to a uint64_t
variable which will have its value set to the primary key of the found table row
@post If and only if the table row is found, *primary
will be replaced with the primary key of the found table row
@return iterator to the first table row with a secondary key equal to *secondary
or the end iterator of the table if the table row could not be found