run_view_definition_with_options

Function run_view_definition_with_options 

Source
pub fn run_view_definition_with_options(
    view_definition: SofViewDefinition,
    bundle: SofBundle,
    content_type: ContentType,
    options: RunOptions,
) -> Result<Vec<u8>, SofError>
Expand description

Execute a ViewDefinition transformation with additional filtering options.

This function extends the basic run_view_definition with support for:

  • Filtering resources by modification time (since)
  • Limiting results (limit)
  • Pagination (page)

§Arguments

  • view_definition - The ViewDefinition to execute
  • bundle - The Bundle containing resources to transform
  • content_type - Desired output format
  • options - Additional filtering and control options

§Returns

The transformed data in the requested format, with filtering applied.