Skip to content

Commit

Permalink
fix: issue with query generator for Mongobi for nested fields in docu…
Browse files Browse the repository at this point in the history
…ment

Fixes #56
  • Loading branch information
paveltiunov committed Jun 12, 2019
1 parent a61b0da commit 907b234
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cubejs-mongobi-driver/driver/MongoBIDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ class MongoBIDriver extends BaseDriver {
informationSchemaQuery() {
return `${super.informationSchemaQuery()} AND columns.table_schema = '${this.config.database}'`;
}

quoteIdentifier(identifier) {
return `\`${identifier}\``;
}
}

module.exports = MongoBIDriver;

0 comments on commit 907b234

Please sign in to comment.