def delete(table, where=(), **kwargs):
    """Convenience wrapper for database DELETE."""
    where = dict(where, **kwargs).items()
    sql, args = makeSQL("DELETE", table, where=where)
    return execute(sql, args).rowcount