-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters