Update jsonata

This commit is contained in:
Nick O'Leary
2017-03-12 22:02:58 +00:00
parent 834e894b1d
commit 5c2e7ce407
6 changed files with 1957 additions and 4032 deletions

View File

@@ -110,6 +110,7 @@
'$append':{ args:['array','array'] },
'$average':{ args:['value'] },
'$boolean':{ args:['value'] },
'$contains':{ args:['str','pattern']},
'$count':{ args:['array'] },
'$exists':{ args:['value'] },
'$join':{ args:['array','separator'] },
@@ -117,12 +118,14 @@
'$length':{ args:['string'] },
'$lookup':{ args:['object','key'] },
'$lowercase':{ args:['string'] },
'$match':{ args:['str','pattern','limit']},
'$map':{ args:[] },
'$max':{ args:['array'] },
'$min':{ args:['array'] },
'$not':{ args:['value'] },
'$number':{ args:['value'] },
'$reduce':{ args:[] },
'$replace':{ args:['str','pattern','replacement','limit']},
'$split':{ args:['string','separator','limit'] },
'$spread':{ args:['object'] },
'$string':{ args:['value'] },
@@ -130,6 +133,7 @@
'$substringAfter':{ args:['string','chars'] },
'$substringBefore':{ args:['string','chars'] },
'$sum':{ args:['array'] },
'$trim': { args:['str'] },
'$uppercase':{ args:['string'] }
}
jsonata.getFunctionSnippet = function(fn) {