File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
type Query {
5
5
# To sum a and b using the @value directive within src in JSONata,
6
6
sum (a : Int ! , b : Int ! ): Int ! @value (script : {src : " a+b" , language : JSONATA })
7
- # To convert a string to lowercase format, you can utilize the lowercase() function in JSONata using @value
7
+ # To convert a string to lowercase format, use @value in JSONata
8
8
lower (value : String ): String
9
9
@value (script : {src : " $lowercase(value)" , language : JSONATA })
10
- # To convert a string to lowercase format, you can utilize the lowercase() function in JSONata using @value
10
+ # To convert a string to uppercase format, use @value in JSONata
11
11
upper (value : String ): String
12
12
@value (script : {src : " $uppercase(value)" , language : JSONATA })
13
13
You can’t perform that action at this time.
0 commit comments