Update dialect of dameng

This commit is contained in:
Lunny Xiao 2021-07-23 11:08:25 +08:00
parent 214f12dce4
commit 3b48a044f6
2 changed files with 701 additions and 486 deletions

File diff suppressed because it is too large Load Diff

View File

@ -248,11 +248,6 @@ func (engine *Engine) SQLType(c *schemas.Column) string {
return engine.dialect.SQLType(c)
}
// AutoIncrStr Database's autoincrement statement
func (engine *Engine) AutoIncrStr() string {
return engine.dialect.AutoIncrStr()
}
// SetConnMaxLifetime sets the maximum amount of time a connection may be reused.
func (engine *Engine) SetConnMaxLifetime(d time.Duration) {
engine.DB().SetConnMaxLifetime(d)