Versions in this module Expand all Collapse all v0 v0.0.1 Apr 21, 2023 Changes in this version + type Query struct + Branch branch + Global global + func Use(db *gorm.DB) *Query + func (q *Query) Available() bool + func (q *Query) Begin(opts ...*sql.TxOptions) *QueryTx + func (q *Query) Transaction(fc func(tx *Query) error, opts ...*sql.TxOptions) error + func (q *Query) WithContext(ctx context.Context) *queryCtx + type QueryTx struct + func (q *QueryTx) Commit() error + func (q *QueryTx) Rollback() error + func (q *QueryTx) RollbackTo(name string) error + func (q *QueryTx) SavePoint(name string) error