kysely
    Preparing search index...

    Interface CamelCasePluginOptions

    interface CamelCasePluginOptions {
        maintainNestedObjectKeys?: boolean;
        underscoreBeforeDigits?: boolean;
        underscoreBetweenUppercaseLetters?: boolean;
        upperCase?: boolean;
    }
    Index

    Properties

    maintainNestedObjectKeys?: boolean

    If true, nested object's keys will not be converted to camel case.

    Defaults to false.

    underscoreBeforeDigits?: boolean

    If true, an underscore is added before each digit when converting camelCase to snake_case. For example foo12Bar => foo_12_bar and foo_12_bar => foo12Bar

    Defaults to false.

    underscoreBetweenUppercaseLetters?: boolean

    If true, an underscore is added between consecutive upper case letters when converting from camelCase to snake_case. For example fooBAR => foo_b_a_r and foo_b_a_r => fooBAR.

    Defaults to false.

    upperCase?: boolean

    If true, camelCase is transformed into upper case SNAKE_CASE. For example fooBar => FOO_BAR and FOO_BAR => fooBar

    Defaults to false.