Skip to main content

normalize_relation

Function normalize_relation 

Source
pub fn normalize_relation(s: &str) -> String
Expand description

Normalizes a relation string: lowercase + underscores to hyphens.

v1.2.8 reversed the direction along with CANONICAL_RELATIONS. Callers keep passing either spelling; what changed is which one survives to SQL.