Skip to main content

validate_vector_field

Function validate_vector_field 

Source
pub fn validate_vector_field(
    cfg: &VectorPrimaryConfig,
    columns: &[(String, String)],
) -> Result<(), NodeDbError>
Expand description

Validate that vector_field names a VECTOR(n) column in the provided column list. Call this after the column list is available.

columns is a slice of (column_name, type_str) pairs as stored in StoredCollection::fields (lowercased names, original-case type strings).