Skip to content

Commit 982bab5

Browse files
author
Gergő Papp-Szentannai
authored
Merge pull request #86 from haworthia/fix-user-query
Fix niuser query documentation
2 parents d52ccc0 + 4ea3c0d commit 982bab5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user/niuser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ parameters:
408408
409409
- Logical OR operator 'or'. Example: 'x or y'
410410
411-
- Contains operator '.Contains()', used to check whether a string contains another string. Example: 'x.Contains(y)'
411+
- Starts with operator '.StartsWith()', used to check whether a string starts with another string. Example: 'x.StartsWith(y)'
412412
413-
- Does not contain operator '!.Contains()', used to check whether a string does not contain another string. Example: '!x.Contains(y)'
413+
- Does not start with operator '!.StartsWith()', used to check whether a string does not start with another string. Example: '!x.StartsWith(y)'
414414
415415
- String null or empty 'string.IsNullOrEmpty()', used to check whether a string is null or empty. Example: 'string.IsNullOrEmpty(x)'
416416
@@ -433,7 +433,7 @@ parameters:
433433
434434
- status
435435
type: string
436-
example: firstName.Contains("John") && status == "active"
436+
example: firstName.StartsWith("John") && status == "active"
437437
take:
438438
description: The maximum number of users to return
439439
type: integer

0 commit comments

Comments
 (0)