Function massa_models::datastore::cleanup_datastore_key_range_query

source ยท
pub fn cleanup_datastore_key_range_query(
    prefix: &[u8],
    start_bound: Bound<Vec<u8>>,
    end_bound: Bound<Vec<u8>>,
    count: Option<u32>,
    max_datastore_key_length: u8,
    max_datastore_query_config: Option<u32>,
) -> Result<(Vec<u8>, Bound<Vec<u8>>, Bound<Vec<u8>>), ModelsError>
Expand description

Checks and cleans up a datastore key range query Returns: (prefix, start_bound, end_bound) or error Note: only useful to cleanup user-supplied requests (API/ABI)