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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/batch.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "query-core",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "query",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./src/index.ts",
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: number = 0;
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: number = 0;
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) {