Skip to main content

cache_query_fields_async_with

Function cache_query_fields_async_with 

Source
pub async fn cache_query_fields_async_with<const N: usize, F>(
    sql: &str,
    c_params: &[DataField; N],
    build_query_params: F,
    cache: &mut impl CacheAble<DataField, RowData, N>,
) -> RowData
where F: FnOnce() -> Vec<DataField>,