class Mongo::Operation::Find::Legacy
A MongoDB find operation sent as a legacy wire protocol message.
@api private
@since 2.5.2
Private Instance Methods
message(connection)
click to toggle source
# File lib/mongo/operation/find/legacy.rb, line 37 def message(connection) selector = Find::Builder::Legacy.selector(spec, connection) options = options(connection).update( Find::Builder::Legacy.query_options(spec, connection), ) Protocol::Query.new( db_name, coll_name, selector, options, ) end