class Mongo::Operation::ParallelScan::OpMsg
A MongoDB parallelscan operation sent as an op message.
@api private
@since 2.5.2
Private Instance Methods
selector(connection)
click to toggle source
# File lib/mongo/operation/parallel_scan/op_msg.rb, line 33 def selector(connection) sel = { :parallelCollectionScan => coll_name, :numCursors => cursor_count } sel[:maxTimeMS] = max_time_ms if max_time_ms if read_concern sel[:readConcern] = Options::Mapper.transform_values_to_strings( read_concern) end sel end