@petradb/engine 1.3.1 → 1.3.3

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.
Files changed (3) hide show
  1. package/index.d.ts +7 -1
  2. package/main.js +33113 -32737
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -95,6 +95,11 @@ export interface CopyResult {
95
95
  rowCount: number;
96
96
  }
97
97
 
98
+ export interface CreateSchemaResult {
99
+ command: 'create schema';
100
+ schema: string;
101
+ }
102
+
98
103
  export interface InsertResult {
99
104
  command: 'insert';
100
105
  result: Record<string, any>;
@@ -139,7 +144,8 @@ export type ExecuteResult =
139
144
  | CommitResult
140
145
  | RollbackResult
141
146
  | ExplainResult
142
- | CopyResult;
147
+ | CopyResult
148
+ | CreateSchemaResult;
143
149
 
144
150
  export interface PreparedStatement {
145
151
  execute(params?: any[], options?: ExecuteOptions): Promise<ExecuteResult[]>;