record-macros icon indicating copy to clipboard operation
record-macros copied to clipboard

Feature: @:caseSensitive metafield for text fields

Open ProPuke opened this issue 7 years ago • 4 comments

Allows you to control case-sensitivity for text columns

@:caseSensitive(default) - Use the default db case sensitivity (default, current behaviour) @:caseSensitive(false) - Make this column case-insensitive (COLLATE NOCASE with sqlite) @:caseSensitive(true) - Make this column case-sensitive (COLLATE binary with MySql)

ProPuke avatar Aug 26 '18 22:08 ProPuke

Would you add some tests? Currently we only test sqlite in CI, but it's better than having nothing. You may add the test functions in test/Test.hx, or use a separate class if needed.

andyli avatar Aug 28 '18 05:08 andyli

test cases added, and fixed a sloppy bug with it not working with MySQL

ProPuke avatar Sep 09 '18 01:09 ProPuke

Now there is a conflict so the PR cannot be merge. Would you merge the current master or rebase on top of it?

andyli avatar Sep 09 '18 03:09 andyli

👍

ProPuke avatar Sep 09 '18 18:09 ProPuke