Skip to main content

validate

Function validate 

Source
pub fn validate(
    tables: &StartposTables,
    schema: &Schema,
    campaign: &str,
) -> Vec<StartposIssue>
Expand description

Validates the tables a campaign’s startpos is built from.

§Arguments

  • tables - The start_pos_* tables, and the tables they reference. References to tables that aren’t there aren’t checked.
  • schema - Schema with the references of the tables.
  • campaign - Campaign key.

§Returns

The issues found, errors first.