We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StatementSync
1 parent 21c555b commit 912b999Copy full SHA for 912b999
src/node_sqlite.cc
@@ -930,8 +930,7 @@ bool StatementSync::BindParams(const FunctionCallbackInfo<Value>& args) {
930
int anon_idx = 1;
931
int anon_start = 0;
932
933
- if (args[0]->IsObject() && !args[0]->IsUint8Array() &&
934
- !args[0]->IsTypedArray() && !args[0]->IsArrayBuffer() &&
+ if (args[0]->IsObject() && !args[0]->IsArrayBufferView() &&
935
!args[0]->IsDataView()) {
936
Local<Object> obj = args[0].As<Object>();
937
Local<Context> context = obj->GetIsolate()->GetCurrentContext();
0 commit comments