           @close()
           return after false
 
-        @close() if @_closeAfterRequest
+        @close() if @_closeAfterRequest is true
         after parseInt results, 10
 
   save: (table, params, after = ->) ->

          @close()
          return after false

        @close() if @_closeAfterRequest
        after if params._id? then params else results[0]

  closeAfterRequest: (value) ->

          @close()
          return after []

        @close() if @_closeAfterRequest is true
        after results

  count: (table, params, after) ->
