code: function (options) {
      if (options.username && options.password) {
        return (options.protocol + "://" + options.username + ":" + options.password + "@" + options.host + ":" + options.port + "/" + options.database)
      }
      return (options.protocol + "://" + options.host + ":" + options.port + "/" + options.database)
    }
docs: This is a convinence function for creating the InfluxDB connection string