mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-04 05:36:35 +08:00
feat: i18n
This commit is contained in:
@@ -362,8 +362,12 @@ func (md *MssqlDialect) GenerateIndexDDL(indexs []dbi.Index, tableInfo dbi.Table
|
||||
return sqls
|
||||
}
|
||||
|
||||
func (md *MssqlDialect) GetIdentifierQuoteString() string {
|
||||
return "["
|
||||
func (dx *MssqlDialect) QuoteIdentifier(name string) string {
|
||||
return fmt.Sprintf("[%s]", name)
|
||||
}
|
||||
|
||||
func (dx *MssqlDialect) RemoveQuote(name string) string {
|
||||
return strings.Trim(name, "[]")
|
||||
}
|
||||
|
||||
func (md *MssqlDialect) GetDataHelper() dbi.DataHelper {
|
||||
|
||||
Reference in New Issue
Block a user