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
Issue tracker is used for reporting bugs and discussing new features. Please use Discord or stackoverflow for supporting
issues.
go-pg does not support indexing currently, we have to create indexing manually.
Expected Behavior
Supporting indexing is nice to have for ORM.
Current Behavior
Index tag is not implemented.
Context (Environment)
Most of the us use embedded structure for some sort of base model, take an example for soft delete feature, if we need to create indexing, we need to create index for each and every table in that case.
Detailed Description
Possible Implementation
type Base struct {
ID uint
CreatedAt time.Time
DeletedAt time.Time `gorm:",index"`
}
The text was updated successfully, but these errors were encountered:
Issue tracker is used for reporting bugs and discussing new features. Please use
Discord or stackoverflow for supporting
issues.
go-pg does not support indexing currently, we have to create indexing manually.
Expected Behavior
Supporting indexing is nice to have for ORM.
Current Behavior
Index tag is not implemented.
Context (Environment)
Most of the us use embedded structure for some sort of base model, take an example for soft delete feature, if we need to create indexing, we need to create index for each and every table in that case.
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: