@tinycloud/sdk-services 2.6.0-beta.1 → 2.6.0-beta.2
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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/sql/index.cjs +2 -2
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.js +2 -2
- package/dist/sql/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2335,7 +2335,7 @@ var SQLService = class extends BaseService {
|
|
|
2335
2335
|
try {
|
|
2336
2336
|
const response = await this.invokeSQL(
|
|
2337
2337
|
dbName,
|
|
2338
|
-
SQLAction.
|
|
2338
|
+
SQLAction.WRITE,
|
|
2339
2339
|
{ action: "execute_statement", name, params: params ?? [] },
|
|
2340
2340
|
options?.signal
|
|
2341
2341
|
);
|
|
@@ -2357,7 +2357,7 @@ var SQLService = class extends BaseService {
|
|
|
2357
2357
|
try {
|
|
2358
2358
|
const response = await this.invokeSQL(
|
|
2359
2359
|
dbName,
|
|
2360
|
-
SQLAction.
|
|
2360
|
+
SQLAction.READ,
|
|
2361
2361
|
{ action: "export" },
|
|
2362
2362
|
options?.signal
|
|
2363
2363
|
);
|
|
@@ -2818,7 +2818,7 @@ var DuckDbService = class extends BaseService {
|
|
|
2818
2818
|
try {
|
|
2819
2819
|
const response = await this.invokeDuckDb(
|
|
2820
2820
|
dbName,
|
|
2821
|
-
DuckDbAction.
|
|
2821
|
+
DuckDbAction.WRITE,
|
|
2822
2822
|
{ action: "executeStatement", name, params: params ?? [] },
|
|
2823
2823
|
options?.signal
|
|
2824
2824
|
);
|
|
@@ -2840,7 +2840,7 @@ var DuckDbService = class extends BaseService {
|
|
|
2840
2840
|
try {
|
|
2841
2841
|
const response = await this.invokeDuckDb(
|
|
2842
2842
|
dbName,
|
|
2843
|
-
DuckDbAction.
|
|
2843
|
+
DuckDbAction.READ,
|
|
2844
2844
|
{ action: "describe" },
|
|
2845
2845
|
options?.signal
|
|
2846
2846
|
);
|