@petradb/engine 1.1.1 → 1.2.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.
Files changed (3) hide show
  1. package/index.d.ts +12 -0
  2. package/main.js +47623 -42935
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -50,6 +50,16 @@ export interface AlterTableResult {
50
50
  command: 'alter table';
51
51
  }
52
52
 
53
+ export interface CreateViewResult {
54
+ command: 'create view';
55
+ view: string;
56
+ }
57
+
58
+ export interface DropViewResult {
59
+ command: 'drop view';
60
+ view: string;
61
+ }
62
+
53
63
  export interface PrepareResult {
54
64
  command: 'prepare';
55
65
  name: string;
@@ -104,6 +114,8 @@ export type ExecuteResult =
104
114
  | DropIndexResult
105
115
  | TruncateTableResult
106
116
  | AlterTableResult
117
+ | CreateViewResult
118
+ | DropViewResult
107
119
  | InsertResult
108
120
  | SelectResult
109
121
  | UpdateResult