common.normalizers.naming.snake_case
NamingConvention Objects
class NamingConvention(BaseNamingConvention)
Case insensitive naming convention, converting source identifiers into lower case snake case with reduced alphabet.
- Spaces around identifier are trimmed
- Removes all ascii characters except ascii alphanumerics and underscores
- Prepends
_
if name starts with number. - Multiples of
_
are converted into single_
. - Replaces all trailing
_
withx
- Replaces
+
and*
withx
,-
with_
,@
witha
and|
withl
Uses __ as patent-child separator for tables and flattened column names.