Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    schema: &SchemaRef,
    include: Option<&[String]>,
    exclude: Option<&[String]>,
) -> Result<Option<Vec<String>>>
Expand description

Resolve the requested projection against schema. Returns None when neither flag was provided (callers interpret as “all columns, no filtering”).

exclude takes precedence over include: if both are set, the result is <all columns> \ exclude (the include list is ignored, matching the spec).