@jrrd/postgresjs 0.0.4 → 0.0.5
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/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -449,6 +449,7 @@ class SqlLessThan extends ConditionLike {
|
|
|
449
449
|
* @param {ColumnLike} right
|
|
450
450
|
*/
|
|
451
451
|
constructor(left, right) {
|
|
452
|
+
super();
|
|
452
453
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
453
454
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
454
455
|
}
|
|
@@ -467,6 +468,7 @@ class SqlLessThanOrEqual extends ConditionLike {
|
|
|
467
468
|
* @param {ColumnLike} right
|
|
468
469
|
*/
|
|
469
470
|
constructor(left, right) {
|
|
471
|
+
super();
|
|
470
472
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
471
473
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
472
474
|
}
|
|
@@ -485,6 +487,7 @@ class SqlLike extends ConditionLike {
|
|
|
485
487
|
* @param {ColumnLike} right
|
|
486
488
|
*/
|
|
487
489
|
constructor(left, right) {
|
|
490
|
+
super();
|
|
488
491
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
489
492
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
490
493
|
}
|
|
@@ -503,6 +506,7 @@ class SqlMatch extends ConditionLike {
|
|
|
503
506
|
* @param {ColumnLike} right
|
|
504
507
|
*/
|
|
505
508
|
constructor(left, right) {
|
|
509
|
+
super();
|
|
506
510
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
507
511
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
508
512
|
}
|
|
@@ -540,6 +544,7 @@ class SqlNotILike extends ConditionLike {
|
|
|
540
544
|
* @param {ColumnLike} right
|
|
541
545
|
*/
|
|
542
546
|
constructor(left, right) {
|
|
547
|
+
super();
|
|
543
548
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
544
549
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
545
550
|
}
|
|
@@ -558,6 +563,7 @@ class SqlNotLike extends ConditionLike {
|
|
|
558
563
|
* @param {ColumnLike} right
|
|
559
564
|
*/
|
|
560
565
|
constructor(left, right) {
|
|
566
|
+
super();
|
|
561
567
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
562
568
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
563
569
|
}
|
|
@@ -576,6 +582,7 @@ class SqlNotMatch extends ConditionLike {
|
|
|
576
582
|
* @param {ColumnLike} right
|
|
577
583
|
*/
|
|
578
584
|
constructor(left, right) {
|
|
585
|
+
super();
|
|
579
586
|
this.#left = typeof left === 'string' ? new SqlColumn(left) : left;
|
|
580
587
|
this.#right = typeof right === 'string' ? new SqlColumn(right) : right;
|
|
581
588
|
}
|
|
@@ -592,6 +599,7 @@ class SqlOr extends ConditionLike {
|
|
|
592
599
|
* @param {...ConditionLike} conditions
|
|
593
600
|
*/
|
|
594
601
|
constructor(...conditions) {
|
|
602
|
+
super();
|
|
595
603
|
this.#conditions = conditions;
|
|
596
604
|
}
|
|
597
605
|
|