forked from github/dataease
fix(数据集): 添加数据库数据集时数据预览出错
This commit is contained in:
parent
beb946f0d6
commit
1d88ee85e6
@ -1312,4 +1312,8 @@ public class MysqlQueryProvider extends QueryProvider {
|
||||
return sql;
|
||||
}
|
||||
}
|
||||
|
||||
public String sqlForPreview(String table, Datasource ds) {
|
||||
return "SELECT * FROM " + String.format(MySQLConstants.KEYWORD_TABLE, table);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user