query-core 0.1.26 → 0.1.27
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 +1 -1
- package/src/batch.ts +2 -2
package/package.json
CHANGED
package/src/batch.ts
CHANGED
|
@@ -115,7 +115,7 @@ export class SqlBatchUpdater<T> {
|
|
|
115
115
|
// tslint:disable-next-line:max-classes-per-file
|
|
116
116
|
export class StreamInserter<T> {
|
|
117
117
|
list: T[] = [];
|
|
118
|
-
size
|
|
118
|
+
size = 0;
|
|
119
119
|
version?: string;
|
|
120
120
|
map?: (v: T) => T;
|
|
121
121
|
constructor(public exec: ((sql: string, args?: any[]) => Promise<number>), public table: string, public attributes: Attributes, public param: (i: number) => string, size?: number, toDB?: (v: T) => T) {
|
|
@@ -167,7 +167,7 @@ export class StreamInserter<T> {
|
|
|
167
167
|
// tslint:disable-next-line:max-classes-per-file
|
|
168
168
|
export class StreamUpdater<T> {
|
|
169
169
|
list: T[] = [];
|
|
170
|
-
size
|
|
170
|
+
size = 0;
|
|
171
171
|
version?: string;
|
|
172
172
|
map?: (v: T) => T;
|
|
173
173
|
constructor(public execBatch: ((statements: Statement[]) => Promise<number>), public table: string, public attributes: Attributes, public param: (i: number) => string, size?: number, toDB?: (v: T) => T) {
|