Function eosio_sys::db_find_i64
source · pub unsafe extern "C" fn db_find_i64(
code: capi_name,
scope: u64,
table: capi_name,
id: u64
) -> i32
Expand description
Find a table row in a primary 64-bit integer index table by primary key
@brief Find a table row in a primary 64-bit integer index table by primary 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 id - The primary key of the table row to look up
@return iterator to the table row with a primary key equal to id
or the end iterator of the table if the table row could not be found
Example:
@code int itr = db_find_i64(receiver, receiver, table1, N(charlie)); @endcode