Skip to main content

Module casing

Module casing 

Source
Expand description

Field name case conversion (camelCase → snake_case).

This module handles converting GraphQL field names (typically camelCase) to PostgreSQL column names (typically snake_case) to match Python behavior.

Functions§

normalize_field_path
Normalize a field path for database access.
to_camel_case
Convert snake_case to camelCase.
to_snake_case
Convert camelCase or PascalCase to snake_case.