You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request support for PostgreSQL index operator classes in GORM. Specifically, I need the ability to set operator classes such as varchar_pattern_ops and text_pattern_ops when defining btree indexes.
These operator classes are particularly useful for optimizing queries with pattern matching (LIKE, ILIKE, etc.) on varchar and text columns. Currently, there doesn't appear to be a straightforward way to define these operator classes directly within GORM's model or migration configuration.
Motivation
Related Issues
The text was updated successfully, but these errors were encountered:
Describe the feature
I would like to request support for PostgreSQL index operator classes in GORM. Specifically, I need the ability to set operator classes such as
varchar_pattern_ops
andtext_pattern_ops
when defining btree indexes.These operator classes are particularly useful for optimizing queries with pattern matching (LIKE, ILIKE, etc.) on varchar and text columns. Currently, there doesn't appear to be a straightforward way to define these operator classes directly within GORM's model or migration configuration.
Motivation
Related Issues
The text was updated successfully, but these errors were encountered: