Module: Mongo::Operation::Idable
- Included in:
- Mongo::Operation::Insert::Command, Mongo::Operation::Insert::Legacy, Mongo::Operation::Insert::OpMsg
- Defined in:
- lib/mongo/operation/shared/idable.rb
Overview
Shared behavior of operations that require its documents to each have an id.
Instance Method Summary collapse
Instance Method Details
#documents ⇒ Object
23 24 25 |
# File 'lib/mongo/operation/shared/idable.rb', line 23 def documents @documents ||= ensure_ids(super) end |