 
     # Finds several records using the specified conditions
     findAll: (params, callback) ->
-        callback = params.callback ? ->
-
         conditions = params.conditions ? null
         builder = @$.selectStarFrom(@_dataSource.bucketName)
         builder.where(conditions) if conditions


    # Bind all methods from MyNinja into the model instance (expect for init() and bind() itself)
    bind: (model) ->
#        methodsToBind = ['findById', 'find', 'findAll', 'removeAll', 'removeById', 'remove', 'query', 'updateAll', 'save']
        methodsToBind = ['findById', 'findManyById', 'removeById', 'save', 'insert']
        for methodName in methodsToBind
            muffinMethod = @[methodName]
            ((muffinMethod) =>

        builder.having(params.having) if params.having?
        sql = builder.build()

        @_query sql, callback

#    # Deletes all records from the table - BE CAREFUL
#    # @param {function} callback Called when the operation is completed (error)
