mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-187 NoSQL -> relational transformation
This commit is contained in:
+1
-1
@@ -593,7 +593,7 @@ public class WebSQLProcessor {
|
||||
newRows.add(newRow);
|
||||
}
|
||||
this.bindings = leafAttributes;
|
||||
rows = newRows;
|
||||
this.rows = newRows;
|
||||
}
|
||||
|
||||
private void collectLeafBindings(DBDAttributeBinding attr, List<DBDAttributeBinding> leafBindings) {
|
||||
|
||||
+2
-1
@@ -17,6 +17,7 @@
|
||||
package io.cloudbeaver.service.sql;
|
||||
|
||||
import org.jkiss.dbeaver.Log;
|
||||
import org.jkiss.dbeaver.model.DBPDataKind;
|
||||
import org.jkiss.dbeaver.model.DBPEvaluationContext;
|
||||
import org.jkiss.dbeaver.model.DBValueFormatting;
|
||||
import org.jkiss.dbeaver.model.data.DBDAttributeBinding;
|
||||
@@ -48,7 +49,7 @@ public class WebSQLQueryResultColumn {
|
||||
|
||||
@Property
|
||||
public String getLabel() {
|
||||
if (attrMeta.getParentObject() != null) {
|
||||
if (attrMeta.getParentObject() != null && attrMeta.getParentObject().getDataKind() != DBPDataKind.DOCUMENT) {
|
||||
return attrMeta.getParentObject().getFullyQualifiedName(DBPEvaluationContext.UI) + "." + attrMeta.getLabel();
|
||||
}
|
||||
return attrMeta.getLabel();
|
||||
|
||||
Reference in New Issue
Block a user