Skip to main content

schema_identifier

Function schema_identifier 

Source
pub fn schema_identifier(value: &str) -> Result<String>
Expand description

Normalizes arbitrary schema text into a lower_snake_case backend identifier.

This helper is for SQL-like backends that require identifiers to start with a non-digit ASCII alphanumeric or underscore character after normalization.