Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mapping macro to support case-insensitive comparisons when matching column name to property name #195

Closed

Commits on Nov 8, 2023

  1. Update mapping macro to support both case-sensitive and -insensitive

    comparisons when matching column name to property name
    
    Column to property name matching remains case-sensitive by default,
    but the matching can be set to be case-insensitive as follows:
    
        # will match column names "foo" or "Foo" or "fOo" or FOO" etc.
        # to property name "foo"
        DB.mapping({ foo: String }, case_sensitive: false)
    lachlan committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    90fd3ae View commit details
    Browse the repository at this point in the history