   else
     params._id = objectId params._id
 
-  params
+  return params
 
 module.exports = Easymongo
        results = false if error
        fn error, results > 0

  removeById: (table, id, fn) ->
    @remove table, _id: objectId(id), fn

  count: (table, params, fn) ->
    {params, fn} = utils.normalize params, fn

        results = false if error
        fn error, parseInt(results, 10) or 0

        return
      return
    return

  collection: (table, fn) ->
    {fn} = utils.normalize fn

    connect @, table, (collection) ->
      fn collection

      return
    return

  close: ->
    return false if not @db
