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