Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissSQLCommenterOptions = errors.New("missing sqlcommenter options")
Functions ¶
Types ¶
type SQLCommenter ¶
func (*SQLCommenter) MergeClause ¶
func (c *SQLCommenter) MergeClause(clause *clause.Clause)
MergeClause merge With clauses
type SQLCommenterPlugin ¶
type SQLCommenterPlugin struct {
Options core.CommenterOptions
}
SQLCommenterPlugin gorm plugin
func Default ¶
func Default() *SQLCommenterPlugin
func New ¶
func New(config *Config) *SQLCommenterPlugin
func (*SQLCommenterPlugin) Initialize ¶
func (p *SQLCommenterPlugin) Initialize(db *gorm.DB) error
Initialize gorm plugin initialize
Click to show internal directories.
Click to hide internal directories.