Skip to main content

list_read

Function list_read 

Source
pub(crate) fn list_read<T: HasId>(
    selector: &Selector,
    items: &[T],
    parent: Option<String>,
    options: &ReadOptions<'_>,
    render: &dyn Fn(&T) -> Value,
    noun: &str,
) -> Result<ReadResult, EditError>
Expand description

A window over a whole list, which offset and limit select. noun names what a path that through and around start from points at, e.g. “a block”.