@petradb/engine 1.3.4 → 1.4.1

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 +13 -1
  2. package/main.js +63631 -51477
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -100,6 +100,16 @@ export interface CreateSchemaResult {
100
100
  schema: string;
101
101
  }
102
102
 
103
+ export interface CreateSequenceResult {
104
+ command: 'create sequence';
105
+ sequence: string;
106
+ }
107
+
108
+ export interface DropSequenceResult {
109
+ command: 'drop sequence';
110
+ sequence: string;
111
+ }
112
+
103
113
  export interface InsertResult {
104
114
  command: 'insert';
105
115
  result: Record<string, any>;
@@ -145,7 +155,9 @@ export type ExecuteResult =
145
155
  | RollbackResult
146
156
  | ExplainResult
147
157
  | CopyResult
148
- | CreateSchemaResult;
158
+ | CreateSchemaResult
159
+ | CreateSequenceResult
160
+ | DropSequenceResult;
149
161
 
150
162
  export interface PreparedStatement {
151
163
  execute(params?: any[], options?: ExecuteOptions): Promise<ExecuteResult[]>;