class Mongo::Cursor::KillSpec
This class contains the operation specification for KillCursors.
Its purpose is to ensure we don't misspell attribute names accidentally.
@api private
Attributes
coll_name[R]
cursor_id[R]
db_name[R]
service_id[R]
Public Class Methods
new(cursor_id:, coll_name:, db_name:, service_id:)
click to toggle source
# File lib/mongo/cursor/kill_spec.rb, line 28 def initialize(cursor_id:, coll_name:, db_name:, service_id:) @cursor_id = cursor_id @coll_name = coll_name @db_name = db_name @service_id = service_id end