mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-28 10:12:39 +08:00
Fixed the problem of direct query table data error due to characters
This commit is contained in:
@ -2,8 +2,19 @@ package ai.chat2db.plugin.mongodb;
|
||||
|
||||
import ai.chat2db.spi.MetaData;
|
||||
import ai.chat2db.spi.jdbc.DefaultMetaService;
|
||||
import ai.chat2db.spi.model.Database;
|
||||
import ai.chat2db.spi.sql.SQLExecutor;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
public class MongodbMetaData extends DefaultMetaService implements MetaData {
|
||||
|
||||
@Override
|
||||
public List<Database> databases(Connection connection) {
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dbType": "MONGODB",
|
||||
"supportDatabase": true,
|
||||
"supportDatabase": false,
|
||||
"supportSchema": true,
|
||||
"driverConfigList": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user