Versions in this module Expand all Collapse all v1 v1.0.1 Nov 11, 2025 Changes in this version + type BoolQuery struct + MustQueries []Query + ShouldQueries []Query + func NewBoolQuery() *BoolQuery + func (b *BoolQuery) Do() (string, []interface{}) + func (b *BoolQuery) IsEmpty() bool + func (b *BoolQuery) Must(queries ...Query) *BoolQuery + func (b *BoolQuery) Should(queries ...Query) *BoolQuery + type Condition struct + Field string + Op string + Value interface{} + func Eq(field string, value interface{}, opts ...Opt) *Condition + func Gt(field string, value interface{}, opts ...Opt) *Condition + func Gte(field string, value interface{}, opts ...Opt) *Condition + func Lt(field string, value interface{}, opts ...Opt) *Condition + func Lte(field string, value interface{}, opts ...Opt) *Condition + func Neq(field string, value interface{}, opts ...Opt) *Condition + func (c *Condition) Do() (string, []interface{}) + type Opt func(s *Setting) + func AllowIsZero(allowIsZero bool) Opt + type Query interface + Do func() (string, []interface{}) + func Between(field string, val, val2 interface{}, opts ...Opt) Query + func In(field string, values interface{}, opts ...Opt) Query + func Raw(sql string, values ...interface{}) Query + type Setting struct + func NewSetting(opts ...Opt) *Setting v1.0.0 Aug 28, 2025 Changes in this version + func ReadOnlySetting(db *gorm.DB) + type Config struct + Address string + Database string + Password string + Port int + ReadOnly bool + TablePrefix string + User string + type Gorm struct + func NewClickhouseGorm(config *Config) (*Gorm, error) + func NewGorm(db *gorm.DB) (*Gorm, error) + func NewMySQLGorm(config *Config) (*Gorm, error) + func (g *Gorm) Parser(file string) ([]string, error)