mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
feat:support system database and schemas
This commit is contained in:
@ -305,4 +305,14 @@ public class PostgreSQLMetaData extends DefaultMetaService implements MetaData {
|
||||
public String getMetaDataName(String... names) {
|
||||
return Arrays.stream(names).filter(name -> StringUtils.isNotBlank(name)).map(name -> "\"" + name + "\"").collect(Collectors.joining("."));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getSystemDatabases() {
|
||||
return systemDatabases;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getSystemSchemas() {
|
||||
return systemSchemas;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user