Function tarantool_rust_module::box_index_min
[−]
[src]
pub unsafe extern "C" fn box_index_min(
space_id: u32,
index_id: u32,
key: *const c_char,
key_end: *const c_char,
result: *mut *mut BoxTuple
) -> c_int
Return a first (minimal) tuple matched the provided key.
\param space_id space identifier \param index_id index identifier \param key encoded key in MsgPack Array format ([part1, part2, ...]). \param key_end the end of encoded \a key. \param[out] result a tuple or NULL if index is empty \retval -1 on error (check box_error_last()) \retval 0 on success \sa \code box.space[space_id].index[index_id]:min(key) \endcode