File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1717 strategy :
1818 matrix :
1919 os : [ubuntu-latest, macos-latest]
20- node-version : [16 .x, 18 .x]
20+ node-version : [18 .x, 20.x, 22 .x]
2121 steps :
2222 - name : Use Python 3.11
2323 uses : actions/setup-python@v2
3434 - name : Run tests
3535 run : npm run test
3636 - name : Publish to npm
37- if : github.ref == 'refs/heads/main' && matrix.node-version == '16 .x' && matrix.os == 'ubuntu-latest'
37+ if : github.ref == 'refs/heads/main' && matrix.node-version == '18 .x' && matrix.os == 'ubuntu-latest'
3838 run : npm publish
3939 env :
4040 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
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' ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cd "$(dirname "$0")"
1010
1111# Get the newest release version
1212# LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
13- LATEST_RELEASE=v2.1.1
13+ LATEST_RELEASE=v3.6.0
1414
1515# Download the correct version based on the platform
1616case " $( uname -s) " in
You can’t perform that action at this time.
0 commit comments