pub unsafe extern "C" fn db_idx64_upperbound(
    code: capi_name,
    scope: u64,
    table: capi_name,
    secondary: *mut u64,
    primary: *mut u64
) -> i32
Expand description

Find the table row in a secondary 64-bit integer index table that matches the upperbound condition for a given secondary key The table row that matches the upperbound condition is the first table row in the table with the lowest secondary key that is > the given key

@brief Find the table row in a secondary 64-bit integer index table that matches the upperbound condition for a given 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 first used to determine the upperbound and which is then replaced with the secondary key of the found 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, *secondary will be replaced with the secondary 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 found table row or the end iterator of the table if the table row could not be found