     if arguments.length < 3
       [value, fn, callback] = [null, value, fn]
     throw new Error("Callback required") unless callback instanceof Function
-    @_collection.each @_selector, @_options, (error, object)->
+    @collection.each @selector, @options, (error, object)->
       return callback error if error
       if object
         try

  #   connect().find("posts", author_id: id).one (err, post, db)->
  one: (callback)->
    throw new Error("Callback required") unless callback instanceof Function
    @_collection.one @_selector, @_options, callback

  # Passes each object to callback.  Passes null as last object.
  #


  # Passes error, collection and database to callback.
  _connect: (callback)->
    @database.driver (error, connection, end)=>
      return callback error if error
      connection.collection @name, (error, collection)=>
        if error
          end()
          callback error
        else
          callback null, collection, @database

  # Used internally to open a cursor for queries.
  _query: (selector, options, callback)->
