arkormx 2.5.4 → 2.5.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.
@@ -3682,6 +3682,116 @@ var Relation = class {
3682
3682
  whereYear(key, year) {
3683
3683
  return this.constrain((query) => query.whereYear(key, year));
3684
3684
  }
3685
+ whereTime(key, operatorOrValue, maybeValue) {
3686
+ return this.constrain((query) => maybeValue === void 0 ? query.whereTime(key, operatorOrValue) : query.whereTime(key, operatorOrValue, maybeValue));
3687
+ }
3688
+ whereDay(key, operatorOrDay, maybeDay) {
3689
+ return this.constrain((query) => maybeDay === void 0 ? query.whereDay(key, operatorOrDay) : query.whereDay(key, operatorOrDay, maybeDay));
3690
+ }
3691
+ /**
3692
+ * Adds clause to determine if a column's value is in the past
3693
+ *
3694
+ * @param key
3695
+ * @returns
3696
+ */
3697
+ wherePast(key) {
3698
+ return this.constrain((query) => query.wherePast(key));
3699
+ }
3700
+ /**
3701
+ * Adds clause to determine if a column's value is in the future
3702
+ *
3703
+ * @param key
3704
+ * @returns
3705
+ */
3706
+ whereFuture(key) {
3707
+ return this.constrain((query) => query.whereFuture(key));
3708
+ }
3709
+ /**
3710
+ * Adds clause to determine if a column's value is in the past, inclusive of the current date and time
3711
+ *
3712
+ * @param key
3713
+ * @returns
3714
+ */
3715
+ whereNowOrPast(key) {
3716
+ return this.constrain((query) => query.whereNowOrPast(key));
3717
+ }
3718
+ /**
3719
+ * Adds clause to determine if a column's value is in the future, inclusive of the current date and time
3720
+ *
3721
+ * @param key
3722
+ * @returns
3723
+ */
3724
+ whereNowOrFuture(key) {
3725
+ return this.constrain((query) => query.whereNowOrFuture(key));
3726
+ }
3727
+ /**
3728
+ * Adds clause to determine if a column's value is today
3729
+ *
3730
+ * @param key
3731
+ * @returns
3732
+ */
3733
+ whereToday(key) {
3734
+ return this.constrain((query) => query.whereToday(key));
3735
+ }
3736
+ /**
3737
+ * Adds clause to determine if a column's value is before today
3738
+ *
3739
+ * @param key
3740
+ * @returns
3741
+ */
3742
+ whereBeforeToday(key) {
3743
+ return this.constrain((query) => query.whereBeforeToday(key));
3744
+ }
3745
+ /**
3746
+ * Adds clause to determine if a column's value is after today
3747
+ *
3748
+ * @param key
3749
+ * @returns
3750
+ */
3751
+ whereAfterToday(key) {
3752
+ return this.constrain((query) => query.whereAfterToday(key));
3753
+ }
3754
+ /**
3755
+ * Adds clause to determine if a column's value is today or before today
3756
+ *
3757
+ * @param key
3758
+ * @returns
3759
+ */
3760
+ whereTodayOrBefore(key) {
3761
+ return this.constrain((query) => query.whereTodayOrBefore(key));
3762
+ }
3763
+ /**
3764
+ * Adds clause to determine if a column's value is today or after today
3765
+ *
3766
+ * @param key
3767
+ * @returns
3768
+ */
3769
+ whereTodayOrAfter(key) {
3770
+ return this.constrain((query) => query.whereTodayOrAfter(key));
3771
+ }
3772
+ whereColumn(left, operatorOrRight, maybeRight) {
3773
+ return this.constrain((query) => maybeRight === void 0 ? query.whereColumn(left, operatorOrRight) : query.whereColumn(left, operatorOrRight, maybeRight));
3774
+ }
3775
+ /**
3776
+ * Adds "where exists" SQL clauses.
3777
+ *
3778
+ * @param queryOrCallback
3779
+ * @returns
3780
+ */
3781
+ whereExists(queryOrCallback) {
3782
+ return this.constrain((query) => query.whereExists(queryOrCallback));
3783
+ }
3784
+ /**
3785
+ * Adds a fulltext clause for columns that have full text indexes.
3786
+ *
3787
+ * @param columns
3788
+ * @param value
3789
+ * @param options
3790
+ * @returns
3791
+ */
3792
+ whereFullText(columns, value, options = {}) {
3793
+ return this.constrain((query) => query.whereFullText(columns, value, options));
3794
+ }
3685
3795
  /**
3686
3796
  * Add a strongly-typed where key clause to the relationship query.
3687
3797
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkormx",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "Modern TypeScript-first ORM for Node.js.",
5
5
  "keywords": [
6
6
  "orm",