arkormx 2.8.0 → 2.9.0

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.
@@ -3987,6 +3987,17 @@ var Relation = class {
3987
3987
  return this.constrain((query) => query.whereFullText(columns, value, options));
3988
3988
  }
3989
3989
  /**
3990
+ * Add an OR fulltext clause to the relationship query.
3991
+ *
3992
+ * @param columns
3993
+ * @param value
3994
+ * @param options
3995
+ * @returns
3996
+ */
3997
+ orWhereFullText(columns, value, options = {}) {
3998
+ return this.constrain((query) => query.orWhereFullText(columns, value, options));
3999
+ }
4000
+ /**
3990
4001
  * Add a strongly-typed where key clause to the relationship query.
3991
4002
  *
3992
4003
  * @param key
@@ -4057,6 +4068,155 @@ var Relation = class {
4057
4068
  return this.constrain((query) => query.whereLike(key, value));
4058
4069
  }
4059
4070
  /**
4071
+ * Add an OR string contains clause to the relationship query.
4072
+ *
4073
+ * @param key
4074
+ * @param value
4075
+ * @returns
4076
+ */
4077
+ orWhereLike(key, value) {
4078
+ return this.constrain((query) => query.orWhereLike(key, value));
4079
+ }
4080
+ /**
4081
+ * Add a negated string contains (NOT LIKE) clause to the relationship query.
4082
+ *
4083
+ * @param key
4084
+ * @param value
4085
+ * @returns
4086
+ */
4087
+ whereNotLike(key, value) {
4088
+ return this.constrain((query) => query.whereNotLike(key, value));
4089
+ }
4090
+ /**
4091
+ * Add an OR negated string contains (NOT LIKE) clause to the relationship query.
4092
+ *
4093
+ * @param key
4094
+ * @param value
4095
+ * @returns
4096
+ */
4097
+ orWhereNotLike(key, value) {
4098
+ return this.constrain((query) => query.orWhereNotLike(key, value));
4099
+ }
4100
+ /**
4101
+ * Add a JSON containment clause to the relationship query.
4102
+ *
4103
+ * @param key
4104
+ * @param value
4105
+ * @returns
4106
+ */
4107
+ whereJsonContains(column, value) {
4108
+ return this.constrain((query) => query.whereJsonContains(column, value));
4109
+ }
4110
+ /**
4111
+ * OR variant of whereJsonContains().
4112
+ *
4113
+ * @param column
4114
+ * @param value
4115
+ * @returns
4116
+ */
4117
+ orWhereJsonContains(column, value) {
4118
+ return this.constrain((query) => query.orWhereJsonContains(column, value));
4119
+ }
4120
+ /**
4121
+ * Add a negated JSON containment clause to the relationship query.
4122
+ *
4123
+ * @param column
4124
+ * @param value
4125
+ * @returns
4126
+ */
4127
+ whereJsonDoesntContain(column, value) {
4128
+ return this.constrain((query) => query.whereJsonDoesntContain(column, value));
4129
+ }
4130
+ /**
4131
+ * OR variant of whereJsonDoesntContain().
4132
+ *
4133
+ * @param column
4134
+ * @param value
4135
+ * @returns
4136
+ */
4137
+ orWhereJsonDoesntContain(column, value) {
4138
+ return this.constrain((query) => query.orWhereJsonDoesntContain(column, value));
4139
+ }
4140
+ /**
4141
+ * Add a JSON key-existence clause to the relationship query.
4142
+ *
4143
+ * @param column
4144
+ * @param value
4145
+ * @returns
4146
+ */
4147
+ whereJsonContainsKey(column) {
4148
+ return this.constrain((query) => query.whereJsonContainsKey(column));
4149
+ }
4150
+ /**
4151
+ * OR variant of whereJsonContainsKey().
4152
+ *
4153
+ * @param column
4154
+ * @returns
4155
+ */
4156
+ orWhereJsonContainsKey(column) {
4157
+ return this.constrain((query) => query.orWhereJsonContainsKey(column));
4158
+ }
4159
+ /**
4160
+ * Add a negated JSON key-existence clause to the relationship query.
4161
+ *
4162
+ * @param column
4163
+ * @returns
4164
+ */
4165
+ whereJsonDoesntContainKey(column) {
4166
+ return this.constrain((query) => query.whereJsonDoesntContainKey(column));
4167
+ }
4168
+ /**
4169
+ * OR variant of whereJsonDoesntContainKey().
4170
+ *
4171
+ * @param column
4172
+ * @returns
4173
+ */
4174
+ orWhereJsonDoesntContainKey(column) {
4175
+ return this.constrain((query) => query.orWhereJsonDoesntContainKey(column));
4176
+ }
4177
+ whereJsonLength(column, operatorOrValue, maybeValue) {
4178
+ return this.constrain((query) => maybeValue === void 0 ? query.whereJsonLength(column, operatorOrValue) : query.whereJsonLength(column, operatorOrValue, maybeValue));
4179
+ }
4180
+ orWhereJsonLength(column, operatorOrValue, maybeValue) {
4181
+ return this.constrain((query) => maybeValue === void 0 ? query.orWhereJsonLength(column, operatorOrValue) : query.orWhereJsonLength(column, operatorOrValue, maybeValue));
4182
+ }
4183
+ /**
4184
+ * Add a JSON array overlap clause to the relationship query.
4185
+ *
4186
+ * @param column
4187
+ * @param value
4188
+ */
4189
+ whereJsonOverlaps(column, value) {
4190
+ return this.constrain((query) => query.whereJsonOverlaps(column, value));
4191
+ }
4192
+ /**
4193
+ * OR variant of whereJsonOverlaps().
4194
+ *
4195
+ * @param column
4196
+ * @param value
4197
+ */
4198
+ orWhereJsonOverlaps(column, value) {
4199
+ return this.constrain((query) => query.orWhereJsonOverlaps(column, value));
4200
+ }
4201
+ having(column, operatorOrValue, maybeValue) {
4202
+ return this.constrain((query) => maybeValue === void 0 ? query.having(column, operatorOrValue) : query.having(column, operatorOrValue, maybeValue));
4203
+ }
4204
+ orHaving(column, operatorOrValue, maybeValue) {
4205
+ return this.constrain((query) => maybeValue === void 0 ? query.orHaving(column, operatorOrValue) : query.orHaving(column, operatorOrValue, maybeValue));
4206
+ }
4207
+ /**
4208
+ * Add a raw HAVING clause to the relationship query.
4209
+ */
4210
+ havingRaw(sql, bindings = []) {
4211
+ return this.constrain((query) => query.havingRaw(sql, bindings));
4212
+ }
4213
+ /**
4214
+ * Add a raw OR HAVING clause to the relationship query.
4215
+ */
4216
+ orHavingRaw(sql, bindings = []) {
4217
+ return this.constrain((query) => query.orHavingRaw(sql, bindings));
4218
+ }
4219
+ /**
4060
4220
  * Add a string starts-with clause to the relationship query.
4061
4221
  *
4062
4222
  * @param key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkormx",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Modern TypeScript-first ORM for Node.js.",
5
5
  "keywords": [
6
6
  "orm",