duckdb 0.3.5-dev1360.0 → 0.3.5-dev1362.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.5-dev1360.0",
4
+ "version": "0.3.5-dev1362.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -7663,6 +7663,18 @@ string StatementTypeToString(StatementType type) {
7663
7663
  }
7664
7664
  return "INVALID";
7665
7665
  }
7666
+
7667
+ string StatementReturnTypeToString(StatementReturnType type) {
7668
+ switch (type) {
7669
+ case StatementReturnType::QUERY_RESULT:
7670
+ return "QUERY_RESULT";
7671
+ case StatementReturnType::CHANGED_ROWS:
7672
+ return "CHANGED_ROWS";
7673
+ case StatementReturnType::NOTHING:
7674
+ return "NOTHING";
7675
+ }
7676
+ return "INVALID";
7677
+ }
7666
7678
  // LCOV_EXCL_STOP
7667
7679
 
7668
7680
  } // namespace duckdb
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "dc74756a0"
15
- #define DUCKDB_VERSION "v0.3.5-dev1360"
14
+ #define DUCKDB_SOURCE_ID "c46211d64"
15
+ #define DUCKDB_VERSION "v0.3.5-dev1362"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //
@@ -9897,6 +9897,8 @@ enum class StatementReturnType : uint8_t {
9897
9897
  NOTHING // the statement returns nothing
9898
9898
  };
9899
9899
 
9900
+ string StatementReturnTypeToString(StatementReturnType type);
9901
+
9900
9902
  //! A struct containing various properties of a SQL statement
9901
9903
  struct StatementProperties {
9902
9904
  StatementProperties()