PolymorphicResult — Documentation by YARD 0.9.37 (original) (raw)

Module: Mongo::Operation::PolymorphicResultPrivate

Includes:

PolymorphicLookup

Included in:

Aggregate::OpMsg, Delete::OpMsg, Explain::OpMsg, Find::OpMsg, GetMore::OpMsg, Indexes::OpMsg, Insert::OpMsg, ListCollections::OpMsg, MapReduce::OpMsg, Mongo::Operation::ParallelScan::OpMsg, Update::OpMsg, UsersInfo::OpMsg

Defined in:

lib/mongo/operation/shared/polymorphic_result.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Shared behavior of instantiating a result class matching the operation class.

This module must be included after Executable module because result_class is defined in both.

Defined Under Namespace

Modules: ClassMethods