Optional
collationThe filter to limit the replaced document.用于限制被替换文档的筛选器。
Optional
hintThe index to use. If specified, then the query system will only consider plans using the hinted index.要使用的索引。如果指定,则查询系统将只考虑使用提示索引的计划。
The document with which to replace the matched document.用于替换匹配文档的文档。
Optional
upsertWhen true, creates a new document if no document matches the query.如果为true
,则在没有与查询匹配的文档的情况下创建新文档。
Generated using TypeDoc
Specifies a collation.指定排序规则。