Drop a continuous query.

    database
        Name of the database for which the continuous query will
        be drop from.

    name
        Name of the continuous query to drop.

    CLI Example:

    .. code-block:: bash

        salt '*' influxdb.drop_continuous_query mydb my_cq

def drop_continuous_query(database, name, **client_args):
    '''
    Drop a continuous query.

    database
        Name of the database for which the continuous query will
        be drop from.

    name
        Name of the continuous query to drop.

    CLI Example:

    .. code-block:: bash

        salt '*' influxdb.drop_continuous_query mydb my_cq
    '''
    client = _client(**client_args)

    query = 'DROP CONTINUOUS QUERY {0} ON {1}'.format(name, database)
    client.query(query)
    return True