模块:Mongo::Operation::PolymorphicResult Private

包括:
多态查找
包含在:
Aggregate::OpMsgDelete::OpMsgExplain::OpMsgFind::OpMsgGetMore::OpMsgIndexes::OpMsgInsert::OpMsgListCollections::OpMsgMapReduce::OpMsgMongo::Operation: :ParallelScan::OpMsgUpdate::OpMsgUsersInfo::OpMsg
定义于:
lib/ Mongo/operation/shared/polymorphic_result.rb

Overview

该模块是私有 API 的一部分。 您应尽可能避免使用此模块,因为它将来可能会被删除或更改。

实例化与操作类匹配的结果类的共享行为。

此模块必须包含在可执行文件模块之后,因为在这两个模块中都定义了 result_class。

在命名空间下定义

模块: 类方法

类方法摘要折叠

类方法详细信息

included (base) ⇒对象

此方法是私有 API 的一部分。 您应尽可能避免使用此方法,因为它将来可能会被删除或更改。



33
34
35
# File 'lib/ Mongo/operation/shared/polymorphic_result.rb', line 33

def self.包含(基础)
  基础.扩展 类方法
end