 		else if typeof opts is 'function'
 			cb = opts
 			opts = {}
+
+		return cb "Input is expected to be a non-empty array" unless Array.isArray(rows) and rows.length > 0
+		debug "mdelete on table: #{table} #{rows.length} rows"
 
 		workingList = []
 		for row in rows



	mdelete: (table, rows, opts, cb) =>
		return cb "Input is expected to be a non-empty array" unless Array.isArray(rows) and rows.length > 0
		debug "mdelete on table: #{table} #{rows.length} rows"

		if typeof columns is 'function'
			cb = columns
			opts = {}



	mget: (table, rows, columns, opts, cb) =>
		if typeof columns is 'function'
			cb = columns
			opts = {}
