Replies: 1 comment
|
It's an interesting idea. It wouldn't be too hard to add I'm not sure if CockroachDB supports collate - i would have to check. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I don't know for Cockroach DB, but I know that PostgreSQL supports collations. This is nice feature that replaces existing extensions like
citextin order to have case insensitive columns (like an email).I think we could have a
collation=property toVarchar/Textcolumns. Collations can be created by a raw migration, but any better system would be welcome. Of course it could work with any collation, not only case insensitive.Currently I implemented this using a
Varcharsubclass, as a proof of concept:And I added this collation using a migration:
I'm new to Piccolo and I'm discovering the code base, their might be a better way of doing this.
All reactions