Closed SEA99 closed 1 year ago
error: Exception has occurred: TypeError: data.every is not a function at QueryCursor._getReqParams (.../node_modules/clickhouse/index.js:555:23) at QueryCursor.exec (.../node_modules/clickhouse/index.js:597:24)
call: await ch.query('insert into test1 (id,name) values({id:UInt32},{name:String}) ', { params: { name:'xxx', id:123 } } ).toPromise();
I think this will fix: https://github.com/TimonKK/clickhouse/compare/master...SEA99:clickhouse:master
error: Exception has occurred: TypeError: data.every is not a function at QueryCursor._getReqParams (.../node_modules/clickhouse/index.js:555:23) at QueryCursor.exec (.../node_modules/clickhouse/index.js:597:24)
call: await ch.query('insert into test1 (id,name) values({id:UInt32},{name:String}) ', { params: { name:'xxx', id:123 } } ).toPromise();