Skip to main content

cache_query_fields_route

Function cache_query_fields_route 

Source
pub fn cache_query_fields_route<const N: usize>(
    provider: Option<&str>,
    sql: &str,
    local_cache_scope: u64,
    c_params: &[DataField; N],
    query_params: &[DataField],
    cache: &mut impl CacheAble<DataField, RowData, N>,
) -> RowData
Expand description

本地缓存路由派发:providerSome(name) 时走命名 provider,None 时走默认 provider。