Note
mongosh Methods
The methods listed on this table of contents page are 此目录页上列出的方法是mongosh methods. This is not the documentation for Node.js or other programming language specific driver methods.mongosh方法。这不是Node.js或其他特定于编程语言的驱动程序方法的文档。
In most cases, 在大多数情况下,mongosh methods work the same way as the legacy mongo shell methods. However, some legacy methods are unavailable in mongosh.mongosh方法的工作方式与遗留的mongoshell方法相同。然而,一些遗留方法在mongosh中不可用。
For MongoDB API drivers, refer to the language specific MongoDB driver documentation.有关MongoDB API驱动程序,请参阅特定语言的MongoDB驱动程序文档。
Atlas Stream Processors let you perform aggregation operations against streams of continuous data using the same data model and query API that you use with at-rest data.Atlas流处理器允许您使用与静态数据相同的数据模型和查询API对连续数据流执行聚合操作。
Use the following methods to manage Stream Processors使用以下方法管理流处理器
Important
The following methods can only be run on deployments hosted on MongoDB Atlas.以下方法只能在MongoDB Atlas上托管的部署上运行。
Note
For details on a specific method, including syntax and examples, click on the link to the method's reference page.有关特定方法的详细信息,包括语法和示例,请单击该方法参考页面的链接。
sp.createStreamProcessor() | |
sp.listStreamProcessors() | |
sp.process() | |
sp.processor.drop() | |
sp.processor.sample() | |
sp.processor.start() | |
sp.processor.stats() | |
sp.processor.stop() |