Skip to content

Commit b01652d

Browse files
Merge pull request #6651 from segmentio/maleman842-patch-1
Fix typo for Arrays
2 parents 39d3789 + 3713a17 commit b01652d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/public-api/query-language.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The following tables list the query languages's available functions.
102102
| Syntax | `sources({exclude: {a: Array}})`<br>`a` - an array of source `ids` to exclude |
103103
| Return Type | `StreamFilter` |
104104
| Description | Filters the stream to only items whose source `id` does not match the exclusion list. |
105-
| Example | `sources({exclude: ['QgRHeujRJBM9j18yChyC', '/;hSBZDqGDPvXCKHbikPm']})` |
105+
| Example | `sources({exclude: 'QgRHeujRJBM9j18yChyC', '/;hSBZDqGDPvXCKHbikPm'})` |
106106

107107
| `within` | |
108108
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -243,7 +243,7 @@ The following tables list the query languages's available functions.
243243
| Syntax | `contains({a: Array})`<br>`a` - array of possible values |
244244
| Return Type | `Comparator` |
245245
| Description | Matches when the value contains one of the elements of the parameter array as a substring. |
246-
| Example | `contains(['shoes','shirts'])` |
246+
| Example | `contains('shoes','shirts')` |
247247

248248
| `omits` | |
249249
| ----------- | ------------------------------------------------------------------------------------------------------------------------------- |
@@ -269,7 +269,7 @@ The following tables list the query languages's available functions.
269269
| Syntax | `one_of({a: Array})`<br>`a` - array of possible values |
270270
| Return Type | `Comparator` |
271271
| Description | Matches when the value exactly matches one of the values from the parameter array. |
272-
| Example | `one_of(['shoes','shirts'])` |
272+
| Example | `one_of('shoes','shirts')` |
273273

274274
| `before_date` | |
275275
| ------------- | --------------------------------------------------------- |

0 commit comments

Comments
 (0)