跳到主要内容

get_async_collection_with_checksum

获取支持异步操作的带有校验和功能的集合对象

声明

object get_async_collection_with_checksum(array checksum_fields, object worker = nil)

参数

参数名描述
checksum_fields校验和字段列表
worker异步操作关联的worker协程对象

返回值

支持异步操作的带有校验和功能的集合对象(pkg.mongoc.AsyncCollectionWithChecksum实例)

使用方式

返回文档