@@ -185,8 +185,7 @@ public protocol Expression: Sendable {
185
185
/// // Combine the "items" array with "otherItems" and "archiveItems" array fields.
186
186
/// Field("items").arrayConcat(Field("otherItems"), Field("archiveItems"))
187
187
/// ```
188
- /// - Parameter secondArray: An `Expression` (evaluating to an array) to concatenate.
189
- /// - Parameter otherArrays: Optional additional `Expression` values (evaluating to arrays) to
188
+ /// - Parameter arrays: An array of at least one `Expression` (evaluating to an array) to
190
189
/// concatenate.
191
190
/// - Returns: A new `FunctionExpression` representing the concatenated array.
192
191
func arrayConcat( _ arrays: [ Expression ] ) -> FunctionExpression
@@ -199,9 +198,7 @@ public protocol Expression: Sendable {
199
198
/// // Combine "tags" (an array field) with ["new", "featured"] and ["urgent"]
200
199
/// Field("tags").arrayConcat(["new", "featured"], ["urgent"])
201
200
/// ```
202
- /// - Parameter secondArray: An array literal of `Sendable` values to concatenate.
203
- /// - Parameter otherArrays: Optional additional array literals of `Sendable` values to
204
- /// concatenate.
201
+ /// - Parameter arrays: An array of at least one `Sendable` values to concatenate.
205
202
/// - Returns: A new `FunctionExpression` representing the concatenated array.
206
203
func arrayConcat( _ arrays: [ [ Sendable ] ] ) -> FunctionExpression
207
204
@@ -255,8 +252,7 @@ public protocol Expression: Sendable {
255
252
/// Field("tags").arrayContainsAll(["urgent", "review"])
256
253
/// ```
257
254
///
258
- /// - Parameter values: A list of `Sendable` literal elements to check for in the array
259
- /// represented by `self`.
255
+ /// - Parameter values: An array of at least one `Sendable` element to check for in the array.
260
256
/// - Returns: A new `BooleanExpr` representing the "array_contains_all" comparison.
261
257
func arrayContainsAll( _ values: [ Sendable ] ) -> BooleanExpression
262
258
@@ -269,8 +265,7 @@ public protocol Expression: Sendable {
269
265
/// Field("userGroups").arrayContainsAny([Field("allowedGroup1"), Field("allowedGroup2")])
270
266
/// ```
271
267
///
272
- /// - Parameter values: A list of `Expression` elements to check for in the array represented
273
- /// by `self`.
268
+ /// - Parameter values: A list of `Expression` elements to check for in the array.
274
269
/// - Returns: A new `BooleanExpr` representing the "array_contains_any" comparison.
275
270
func arrayContainsAny( _ values: [ Expression ] ) -> BooleanExpression
276
271
@@ -283,8 +278,7 @@ public protocol Expression: Sendable {
283
278
/// Field("categories").arrayContainsAny(["electronics", "books"])
284
279
/// ```
285
280
///
286
- /// - Parameter values: A list of `Sendable` literal elements to check for in the array
287
- /// represented by `self`.
281
+ /// - Parameter values: An array of at least one `Sendable` element to check for in the array.
288
282
/// - Returns: A new `BooleanExpr` representing the "array_contains_any" comparison.
289
283
func arrayContainsAny( _ values: [ Sendable ] ) -> BooleanExpression
290
284
@@ -425,7 +419,7 @@ public protocol Expression: Sendable {
425
419
/// Field("categoryID").eqAny([Field("featuredCategory"), Field("popularCategory")])
426
420
/// ```
427
421
///
428
- /// - Parameter others: A list of `Expression` values to check against.
422
+ /// - Parameter others: An array of at least one `Expression` value to check against.
429
423
/// - Returns: A new `BooleanExpr` representing the "IN" comparison (eq_any).
430
424
func eqAny( _ others: [ Expression ] ) -> BooleanExpression
431
425
@@ -438,7 +432,7 @@ public protocol Expression: Sendable {
438
432
/// Field("category").eqAny(["Electronics", "Books", "Home Goods"])
439
433
/// ```
440
434
///
441
- /// - Parameter others: A list of `Sendable` literal values to check against.
435
+ /// - Parameter others: An array of at least one `Sendable` literal value to check against.
442
436
/// - Returns: A new `BooleanExpr` representing the "IN" comparison (eq_any).
443
437
func eqAny( _ others: [ Sendable ] ) -> BooleanExpression
444
438
@@ -451,7 +445,7 @@ public protocol Expression: Sendable {
451
445
/// Field("statusValue").notEqAny([Field("archivedStatus"), Field("deletedStatus")])
452
446
/// ```
453
447
///
454
- /// - Parameter others: A list of `Expression` values to check against.
448
+ /// - Parameter others: An array of at least one `Expression` value to check against.
455
449
/// - Returns: A new `BooleanExpr` representing the "NOT IN" comparison (not_eq_any).
456
450
func notEqAny( _ others: [ Expression ] ) -> BooleanExpression
457
451
@@ -464,7 +458,7 @@ public protocol Expression: Sendable {
464
458
/// Field("status").notEqAny(["pending", "archived"])
465
459
/// ```
466
460
///
467
- /// - Parameter others: A list of `Sendable` literal values to check against.
461
+ /// - Parameter others: An array of at least one `Sendable` literal value to check against.
468
462
/// - Returns: A new `BooleanExpr` representing the "NOT IN" comparison (not_eq_any).
469
463
func notEqAny( _ others: [ Sendable ] ) -> BooleanExpression
470
464
@@ -1060,8 +1054,7 @@ public protocol Expression: Sendable {
1060
1054
/// Field("val1").logicalMaximum(Field("val2"), Field("val3"))
1061
1055
/// ```
1062
1056
///
1063
- /// - Parameter second: The second `Expr` to compare with.
1064
- /// - Parameter others: Optional additional `Expr` values to compare with.
1057
+ /// - Parameter expressions: An array of at least one `Expression` to compare with.
1065
1058
/// - Returns: A new `FunctionExpression` representing the logical max operation.
1066
1059
func logicalMaximum( _ expressions: [ Expression ] ) -> FunctionExpression
1067
1060
@@ -1073,8 +1066,7 @@ public protocol Expression: Sendable {
1073
1066
/// Field("val1").logicalMaximum(100, 200.0)
1074
1067
/// ```
1075
1068
///
1076
- /// - Parameter second: The second literal `Sendable` value to compare with.
1077
- /// - Parameter others: Optional additional literal `Sendable` values to compare with.
1069
+ /// - Parameter values: An array of at least one `Sendable` value to compare with.
1078
1070
/// - Returns: A new `FunctionExpression` representing the logical max operation.
1079
1071
func logicalMaximum( _ values: [ Sendable ] ) -> FunctionExpression
1080
1072
@@ -1086,8 +1078,7 @@ public protocol Expression: Sendable {
1086
1078
/// Field("val1").logicalMinimum(Field("val2"), Field("val3"))
1087
1079
/// ```
1088
1080
///
1089
- /// - Parameter second: The second `Expr` to compare with.
1090
- /// - Parameter others: Optional additional `Expr` values to compare with.
1081
+ /// - Parameter expressions: An array of at least one `Expression` to compare with.
1091
1082
/// - Returns: A new `FunctionExpression` representing the logical min operation.
1092
1083
func logicalMinimum( _ expressions: [ Expression ] ) -> FunctionExpression
1093
1084
@@ -1099,8 +1090,7 @@ public protocol Expression: Sendable {
1099
1090
/// Field("val1").logicalMinimum(0, -5.5)
1100
1091
/// ```
1101
1092
///
1102
- /// - Parameter second: The second literal `Sendable` value to compare with.
1103
- /// - Parameter others: Optional additional literal `Sendable` values to compare with.
1093
+ /// - Parameter values: An array of at least one `Sendable` value to compare with.
1104
1094
/// - Returns: A new `FunctionExpression` representing the logical min operation.
1105
1095
func logicalMinimum( _ values: [ Sendable ] ) -> FunctionExpression
1106
1096
0 commit comments