Versions in this module Expand all Collapse all v1 v1.0.1 Mar 3, 2022 v1.0.0 Mar 3, 2022 Changes in this version + var Mytable *mytable + var Q = new(Query) + func SetDefault(db *gorm.DB) + type Query struct + Mytable mytable + 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