Skip to content
Merged
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
Prev Previous commit
Next Next commit
sqllite: add Raw string literals
Co-authored-by: Daniel Lemire <daniel@lemire.me>
  • Loading branch information
miguelmarcondesf and lemire authored Jun 18, 2025
commit 8839375bf8e1c1eb1502e6958588f49ecdc0a762
8 changes: 4 additions & 4 deletions src/node_sqlite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
if (!read_bigints_v->IsBoolean()) {
THROW_ERR_INVALID_ARG_TYPE(
env->isolate(),
"The \"options.readBigInts\" argument must be a boolean.");
R"(The "options.readBigInts" argument must be a boolean.)");
return;
}
open_config.set_use_big_ints(read_bigints_v.As<Boolean>()->Value());
Expand All @@ -988,7 +988,7 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
if (!return_arrays_v->IsBoolean()) {
THROW_ERR_INVALID_ARG_TYPE(
env->isolate(),
"The \"options.returnArrays\" argument must be a boolean.");
R"(The "options.returnArrays" argument must be a boolean.)");
return;
}
open_config.set_return_arrays(return_arrays_v.As<Boolean>()->Value());
Expand All @@ -1001,7 +1001,7 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
if (!allow_bare_named_params_v->IsUndefined()) {
if (!allow_bare_named_params_v->IsBoolean()) {
THROW_ERR_INVALID_ARG_TYPE(env->isolate(),
"The \"options.allowBareNamedParameters\" "
R"(The "options.allowBareNamedParameters")"
"argument must be a boolean.");
return;
}
Expand All @@ -1017,7 +1017,7 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
if (!allow_unknown_named_params_v->IsBoolean()) {
THROW_ERR_INVALID_ARG_TYPE(
env->isolate(),
"The \"options.allowUnknownNamedParameters\" "
R"(The "options.allowUnknownNamedParameters")"
"argument must be a boolean.");
return;
}
Expand Down
Loading