duckdb 0.3.5-dev75.0 → 0.3.5-dev750.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/connection.cpp +7 -0
- package/src/duckdb.cpp +32032 -24281
- package/src/duckdb.hpp +1361 -1094
- package/src/parquet-amalgamation.cpp +27775 -27815
- package/src/statement.cpp +2 -1
- package/test/data_type_support.test.js +22 -1
- package/test/prepare.test.js +2 -2
package/package.json
CHANGED
package/src/connection.cpp
CHANGED
|
@@ -363,6 +363,13 @@ struct ExecTask : public Task {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
+
|
|
367
|
+
void Callback() override {
|
|
368
|
+
auto env = object.Env();
|
|
369
|
+
Napi::HandleScope scope(env);
|
|
370
|
+
callback.Value().MakeCallback(object.Value(), {success ? env.Null() : Napi::String::New(env, error)});
|
|
371
|
+
};
|
|
372
|
+
|
|
366
373
|
std::string sql;
|
|
367
374
|
bool success;
|
|
368
375
|
std::string error;
|