oracle.connect(connectData, function (err, connection) { if (err) { console.log(err); } else { connection.execute('select * from table where item IN ( :1 ) ', [ID], function (err, results) { if (err) { console.log(err); } else { … } connection.close(); }); } }); }
ID:’12004’,’12004’,’12204’,’100030’,’100020’, node: /root/.node-gyp/0.10.33/src/node_object_wrap.h:61: static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = OutParam]: Assertion `handle->InternalFieldCount() > 0’ failed. Aborted 用in 查询时出错,有谁用过?