示例#1
0
        /// <summary>
        ///     Delete a database.
        /// </summary>
        /// <param name="name">The name of the database to delete.</param>
        /// <returns></returns>
        public async Task <InfluxDbApiDeleteResponse> DeleteDatabaseAsync(string name)
        {
            InfluxDbApiResponse response = await _influxDbClient.DeleteDatabase(NoErrorHandlers, name);

            return(new InfluxDbApiDeleteResponse(response.StatusCode, response.Body));
        }