mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-1533 Document-based rows delete fix
This commit is contained in:
+1
-1
@@ -487,7 +487,7 @@ public class WebSQLProcessor {
|
||||
}
|
||||
Map<DBDAttributeBinding, Object> delKeyAttributes = new LinkedHashMap<>();
|
||||
|
||||
boolean isDocumentKey = keyAttributes.length == 1 && keyAttributes[0].getDataKind() == DBPDataKind.DOCUMENT && dataContainer instanceof DBSDocumentLocator;
|
||||
boolean isDocumentKey = keyAttributes.length == 1 && keyAttributes[0].getDataKind() == DBPDataKind.DOCUMENT;
|
||||
|
||||
for (int i = 0; i < allAttributes.length; i++) {
|
||||
if (isDocumentKey || ArrayUtils.contains(keyAttributes, allAttributes[i])) {
|
||||
|
||||
Reference in New Issue
Block a user