File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55.vscode /
66libchdb.so
77chdb.h
8+ chdb.hpp
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ describe('chDB Queries', function () {
7878
7979 session . query ( "USE testdb; INSERT INTO testtable VALUES (1), (2), (3);" ) ;
8080
81- const ret = session . query ( "SELECT * FROM testtable;" , "CSV" ) ;
81+ const ret = session . query ( "SELECT * FROM testdb. testtable;" , "CSV" ) ;
8282 console . log ( "Session Query Result:" , ret ) ;
8383 expect ( ret ) . to . be . a ( 'string' ) ;
8484 expect ( ret ) . to . include ( '1' ) ;
@@ -93,7 +93,7 @@ describe('chDB Queries', function () {
9393 } ) ;
9494
9595 it ( 'should return result of the query made using bind parameters' , ( ) => {
96- const ret = session . queryBind ( "SELECT * from testtable where id > {id: UInt32}" , { id : 2 } , "CSV" ) ;
96+ const ret = session . queryBind ( "SELECT * from testdb. testtable where id > {id: UInt32}" , { id : 2 } , "CSV" ) ;
9797 console . log ( "Bind Session result:" , ret ) ;
9898 expect ( ret ) . to . not . include ( '1' ) ;
9999 expect ( ret ) . to . not . include ( '2' ) ;
You can’t perform that action at this time.
0 commit comments