PDF (US Ltr)
- 1.4Mb
PDF (A4)
- 1.4Mb
The syntax for this function in EBNF is:
CollectionFindFunction
::= '.find(' SearchConditionStr? ')' ( '.fields(' ProjectedDocumentExprStr ')' )?
( '.groupBy(' SearchExprStrList ')' )? ( '.having(' SearchConditionStr ')' )?
( '.sort(' SortExprStrList ')' )? ( '.limit(' NumberOfRows ')' ( '.offset(' NumberOfRows ')' )? )?
( '.lockExclusive(' LockContention ')' | '.lockShared(' LockContention ')' )?
( '.bind(' PlaceholderValues ')' )*
( '.execute()' )?
The syntax for this function shown in EBNF is:
CollectionModifyFunction
::= '.modify(' SearchConditionStr ')'
( '.set(' DocPath ',' ExprOrLiteral ')' |
'.unset(' DocPath ( ',' DocPath )* ')' |
'.arrayInsert(' DocPath ',' ExprOrLiteral ')' |
'.arrayAppend(' DocPath ',' ExprOrLiteral ')' |
'.patch(' DocumentOrJSON ')'
)+
( '.sort(' SortExprStrList ')' )? ( '.limit(' NumberOfRows ')' )?
( '.bind(' PlaceholderValues ')' )*
( '.execute()' )?
The syntax for this function shown in EBNF is:
CollectionAddFunction
::= ( '.add(' ( DocumentOrJSON | '[' DocumentOrJSON ( ',' DocumentOrJSON )* ']' )? ')' )+
( '.execute()' )?