How to use the @cubejs-backend/schema-compiler/adapter/QueryBuilder.query function in @cubejs-backend/schema-compiler

To help you get started, we’ve selected a few @cubejs-backend/schema-compiler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cube-js / cube.js / packages / cubejs-server-core / core / CompilerApi.js View on Github external
createQuery(compilers, dbType, query) {
    return QueryBuilder.query(
      compilers,
      dbType, {
        ...query,
        externalDbType: this.options.externalDbType,
        preAggregationsSchema: this.preAggregationsSchema,
        allowUngroupedWithoutPrimaryKey: this.allowUngroupedWithoutPrimaryKey
      }
    );
  }

@cubejs-backend/schema-compiler

Cube schema compiler

Apache-2.0
Latest version published 2 days ago

Package Health Score

89 / 100
Full package analysis

Similar packages