Naming Helpers functions in the Inflector DuckDB extension
Function category
Naming Helpers
1 functionConvenience builders for Rails-style naming — table_case, foreign-key generation, ClassCase, and module-path conversion.
Signature
inflector_to_table_case(text: VARCHAR) → VARCHAR
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
text
|
Type
VARCHAR
|
Mode Positional | Description |
Description
Rails-style 'table_case' — snake_case + plural. e.g. UserAccount → user_accounts.
1
Example 1
SELECT inflector_to_table_case('FooBar');
Output
| inflector_to_table_case('FooBar') |
|---|
| foo_bars |