feat: 支持达梦数据库查询

This commit is contained in:
刘宗洋
2023-12-06 14:50:02 +08:00
parent a376a82240
commit 84fd14c129
17 changed files with 571 additions and 12 deletions

View File

@@ -181,3 +181,7 @@ func (md *MysqlDialect) GetTableRecord(tableName string, pageNum, pageSize int)
func (md *MysqlDialect) WalkTableRecord(tableName string, walk func(record map[string]any, columns []string)) error {
return md.dc.WalkTableRecord(context.Background(), fmt.Sprintf("SELECT * FROM %s", tableName), walk)
}
func (pd *MysqlDialect) GetSchemas() ([]string, error) {
return nil, nil
}