PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb
此函数在 EBNF 中的语法为
CollectionFindFunction
::= '.find(' SearchConditionStr? ')' ( '.fields(' ProjectedDocumentExprStr ')' )?
( '.groupBy(' SearchExprStrList ')' )? ( '.having(' SearchConditionStr ')' )?
( '.sort(' SortExprStrList ')' )? ( '.limit(' NumberOfRows ')' ( '.offset(' NumberOfRows ')' )? )?
( '.lockExclusive(' LockContention ')' | '.lockShared(' LockContention ')' )?
( '.bind(' PlaceholderValues ')' )*
( '.execute()' )?
此函数在 EBNF 中的语法为
CollectionModifyFunction
::= '.modify(' SearchConditionStr ')'
( '.set(' DocPath ',' ExprOrLiteral ')' |
'.unset(' DocPath ( ',' DocPath )* ')' |
'.arrayInsert(' DocPath ',' ExprOrLiteral ')' |
'.arrayAppend(' DocPath ',' ExprOrLiteral ')' |
'.patch(' DocumentOrJSON ')'
)+
( '.sort(' SortExprStrList ')' )? ( '.limit(' NumberOfRows ')' )?
( '.bind(' PlaceholderValues ')' )*
( '.execute()' )?
此函数在 EBNF 中的语法为
CollectionAddFunction
::= ( '.add(' ( DocumentOrJSON | '[' DocumentOrJSON ( ',' DocumentOrJSON )* ']' )? ')' )+
( '.execute()' )?