'Change client database.
DEPRECATED.'

def switch_db(self, database):

    warnings.warn('switch_db    is    deprecated,    and    will    be    removed    in    future    versions.    Please    use    ``InfluxDBClient.switch_database(database)``    instead.', FutureWarning)
    return self.switch_database(database)
