File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export abstract class SqlConnection extends Connection {
4747 query : string ,
4848 params ?: Record < string , unknown > | unknown [ ]
4949 ) : Promise < QueryResult > {
50- if ( ! params ) return await this . query ( { query } ) ;
50+ if ( ! params ) return await this . internalQuery ( { query } ) ;
5151
5252 // Positional placeholder
5353 if ( Array . isArray ( params ) ) {
@@ -57,13 +57,13 @@ export abstract class SqlConnection extends Connection {
5757 params
5858 ) ;
5959
60- return await this . query ( {
60+ return await this . internalQuery ( {
6161 query : newQuery ,
6262 parameters : bindings ,
6363 } ) ;
6464 }
6565
66- return await this . query ( { query, parameters : params } ) ;
66+ return await this . internalQuery ( { query, parameters : params } ) ;
6767 }
6868
6969 // Named placeholder
You can’t perform that action at this time.
0 commit comments