mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 21:50:43 +08:00
Simplify the update and delete statements for query results when the table contains primary keys
This commit is contained in:
@ -185,4 +185,8 @@ public class KingBaseMetaData extends DefaultMetaService implements MetaData {
|
||||
.indexTypes(KingBaseIndexTypeEnum.getIndexTypes())
|
||||
.build();
|
||||
}
|
||||
@Override
|
||||
public String getMetaDataName(String... names) {
|
||||
return Arrays.stream(names).filter(name -> StringUtils.isNotBlank(name)).map(name -> "\"" + name + "\"").collect(Collectors.joining("."));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user