spider-gazelle / rethinkdb-orm

RethinkDB ORM for Crystal lang
MIT License
24 stars 0 forks source link

Feature: `ensure_unique` support matching via regex #29

Open caspiano opened 3 years ago

caspiano commented 3 years ago

Currently, there is an option to validate uniqueness with a destructive transform callback.

By adding match support, we can query in a non-destructive and case-insensitive way