mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
sqlite: add setReturnArrays method to StatementSync
PR-URL: https://github.com/nodejs/node/pull/57542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
c514e8f781
commit
054371dc90
4 files changed
+309
-48
No files matched your search
@@ -126,6 +126,7 @@ class StatementSync : public BaseObject {
|
||||
static void SetAllowUnknownNamedParameters(
|
||||
const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void SetReadBigInts(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
static void SetReturnArrays(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
void Finalize();
|
||||
bool IsFinalized();
|
||||
|
||||
@@ -136,6 +137,7 @@ class StatementSync : public BaseObject {
|
||||
~StatementSync() override;
|
||||
BaseObjectPtr<DatabaseSync> db_;
|
||||
sqlite3_stmt* statement_;
|
||||
bool return_arrays_ = false;
|
||||
bool use_big_ints_;
|
||||
bool allow_bare_named_params_;
|
||||
bool allow_unknown_named_params_;
|
||||
|
||||
Reference in new issue
Block a user