def METHOD_NAME(queue, items):
    """
    Delete an item or items from a queue
    """
    with _conn(commit=True) as cur:
        if isinstance(items, dict):
            cmd = "DELETE FROM {} WHERE data = '{}'".format(
                queue, salt.utils.json.dumps(items)
            )
            log.debug("SQL Query: %s", cmd)
            cur.execute(cmd)
            return True
        if isinstance(items, list):
            items = [(salt.utils.json.dumps(el),) for el in items]
            cmd = "DELETE FROM {} WHERE data = %s".format(queue)
            log.debug("SQL Query: %s", cmd)
            cur.executemany(cmd, items)
    return True