Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit28dbf61

Browse files
authored
Merge pull request#34 from wudidapaopao/upgrade-chdb-version
Upgrade chdb version
2 parentscfbd91f +2eabec1 commit28dbf61

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"chdb",
3-
"version":"1.5.0",
3+
"version":"1.6.0",
44
"description":"chDB bindings for nodejs",
55
"main":"index.js",
66
"repository": {

‎test_basic.js‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ describe('chDB Queries', function () {
1010
expect(ret).to.include('Hello chDB');
1111
});
1212

13-
it('should throw an error when querying a non-existent table',function(){
14-
expect(()=>{
15-
query("SELECT * FROM non_existent_table;","CSV");
16-
}).to.throw(Error,/Unknowntableexpressionidentifier/);
13+
it('should return empty string when querying a non-existent table',function(){
14+
constret=query("SELECT * FROM non_existent_table;","CSV");
15+
expect(ret).to.equal('');
1716
});
1817

1918
it('should return version, greeting message, and chDB() using bind query',()=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp