Initialize @cursor_id
This commit is contained in:
parent
95911166f3
commit
62900acb4b
|
@ -34,6 +34,8 @@ module Mongo
|
|||
#
|
||||
# @core cursors constructor_details
|
||||
def initialize(collection, opts={})
|
||||
@cursor_id = nil
|
||||
|
||||
@db = collection.db
|
||||
@collection = collection
|
||||
@connection = @db.connection
|
||||
|
|
Loading…
Reference in New Issue