Skip to content

Commit 907b234

Browse files
committed
fix: issue with query generator for Mongobi for nested fields in document
Fixes #56
1 parent a61b0da commit 907b234

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cubejs-mongobi-driver/driver/MongoBIDriver.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ class MongoBIDriver extends BaseDriver {
142142
informationSchemaQuery() {
143143
return `${super.informationSchemaQuery()} AND columns.table_schema = '${this.config.database}'`;
144144
}
145+
146+
quoteIdentifier(identifier) {
147+
return `\`${identifier}\``;
148+
}
145149
}
146150

147151
module.exports = MongoBIDriver;

0 commit comments

Comments
 (0)