package
1.12.6
Repository: https://github.com/go-dev-frame/sponge.git
Documentation: pkg.go.dev

# Functions

Close close gorm db.
Init sqlite.
WithConnMaxLifetime set conn max lifetime.
WithEnableForeignKey use foreign keys.
WithEnableTrace use trace.
WithGormPlugin setting gorm plugin.
WithLogging set log sql, If l=nil, the gorm log library will be used.
WithLogRequestIDKey log request id.
WithMaxIdleConns set max idle conns.
WithMaxOpenConns set max open conns.
WithSlowThreshold Set sql values greater than the threshold.

# Type aliases

Option set the mysql options.