SELECT * FROM example WHERE field SIMILAR TO '(foo|bar)';
It is not too much trouble to just write something like models.Where("field SIMILAR TO ?", "(foo|bar)") but a helper would be nice. If this is something that is desirable I could make a PR for this
It would be nice to have support for SIMILAR TO expressions in the psql drivers. Something like
would generate
It is not too much trouble to just write something like
models.Where("field SIMILAR TO ?", "(foo|bar)")
but a helper would be nice. If this is something that is desirable I could make a PR for this