Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + func GetFieldToColumnMap(typ reflect.Type) map[string]string + func GetQueryFilterByFields(db *gorm.DB, fieldColumns map[string]string, fields map[string]interface{}) (*gorm.DB, error) + func GetQueryFilterByTypeFields(db *gorm.DB, typ interface{}, fields map[string]interface{}) (*gorm.DB, error) + func GetQueryLikeFilterByFields(db *gorm.DB, fieldColumns map[string]string, fields map[string]interface{}) (*gorm.DB, error) + type SQLCollector struct + func NewSQLCollector(filename string, baseLogger logger.Interface) (*SQLCollector, error) + func (c SQLCollector) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error)