@@ -80,15 +80,13 @@ export class DuckDBServerDriver extends BaseDriver implements DriverInterface {
8080 } ;
8181
8282 this . client = axios . create ( { baseURL : url } ) ;
83- console . log ( '+++ INITED SERVER' ) ;
8483 }
8584
8685 public readOnly ( ) {
8786 return false ;
8887 }
8988
9089 public async testConnection ( ) {
91- console . log ( '+++ TEST CONNECTION SERVER' ) ;
9290 await this . query ( 'SELECT 1' ) ;
9391 }
9492
@@ -101,7 +99,6 @@ export class DuckDBServerDriver extends BaseDriver implements DriverInterface {
10199 }
102100
103101 public override getSchemasQuery ( ) : string {
104- console . log ( '+++ GET SCHEMAS SERVER' ) ;
105102 if ( this . schema ) {
106103 return `
107104 SELECT table_schema as ${ super . quoteIdentifier ( 'schema_name' ) }
@@ -118,7 +115,6 @@ export class DuckDBServerDriver extends BaseDriver implements DriverInterface {
118115 }
119116
120117 protected async fetchAsync ( sql : string , args : unknown [ ] , persist : boolean = false ) : Promise < Table > {
121- console . log ( '+++ FETCH ASYNC SERVER' ) ;
122118 const data = {
123119 sql,
124120 args,
@@ -141,8 +137,6 @@ export class DuckDBServerDriver extends BaseDriver implements DriverInterface {
141137
142138 public async query < R = unknown > ( query : string , args : unknown [ ] = [ ] , _options ?: QueryOptions ) : Promise < R [ ] > {
143139 const result = await this . fetchAsync ( query , args , false ) ;
144- console . log ( '+++ RESULT SERVER' , result ) ;
145-
146140 const jsonResult = [ ] ;
147141 for ( const row of result ) {
148142 const jsonRow : Record < string , any > = { } ;
@@ -152,8 +146,6 @@ export class DuckDBServerDriver extends BaseDriver implements DriverInterface {
152146 jsonResult . push ( jsonRow ) ;
153147 }
154148
155- console . log ( '+++ RESULT SERVER JSON' , jsonResult ) ;
156-
157149 return jsonResult as R [ ] ;
158150 }
159151}
0 commit comments