Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
sqlite: statement.set* return statement
  • Loading branch information
mike-git374 authored Jan 3, 2026
commit 3087fbe97a74ac67eef66ca68ef439dd3ecaf35b
4 changes: 4 additions & 0 deletions src/node_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2603,6 +2603,7 @@ void StatementSync::SetAllowBareNamedParameters(
}

stmt->allow_bare_named_params_ = args[0]->IsTrue();
args.GetReturnValue().Set(stmt->object());
}

void StatementSync::SetAllowUnknownNamedParameters(
Expand All @@ -2620,6 +2621,7 @@ void StatementSync::SetAllowUnknownNamedParameters(
}

stmt->allow_unknown_named_params_ = args[0]->IsTrue();
args.GetReturnValue().Set(stmt->object());
}

void StatementSync::SetReadBigInts(const FunctionCallbackInfo<Value>& args) {
Expand All @@ -2636,6 +2638,7 @@ void StatementSync::SetReadBigInts(const FunctionCallbackInfo<Value>& args) {
}

stmt->use_big_ints_ = args[0]->IsTrue();
args.GetReturnValue().Set(stmt->object());
}

void StatementSync::SetReturnArrays(const FunctionCallbackInfo<Value>& args) {
Expand All @@ -2652,6 +2655,7 @@ void StatementSync::SetReturnArrays(const FunctionCallbackInfo<Value>& args) {
}

stmt->return_arrays_ = args[0]->IsTrue();
args.GetReturnValue().Set(stmt->object());
}

void IllegalConstructor(const FunctionCallbackInfo<Value>& args) {
Expand Down