Skip to content

Commit 39eeccf

Browse files
committed
fix(schema-compiler): Fix type annotation for buildSqlAndParams
1 parent 7b1f797 commit 39eeccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-schema-compiler/src/adapter/BaseQuery.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,9 @@ export class BaseQuery {
577577
}
578578

579579
/**
580-
* Returns an array of SQL query strings for the query.
580+
* Returns a pair of SQL query string and parameter values for the query.
581581
* @param {boolean} [exportAnnotatedSql] - returns annotated sql with not rendered params if true
582-
* @returns {Array<string>}
582+
* @returns {[string, Array<unknown>]}
583583
*/
584584
buildSqlAndParams(exportAnnotatedSql) {
585585
if (getEnv('nativeSqlPlanner')) {

0 commit comments

Comments
 (0)