Example #1
0
        /// <summary>
        /// Describe all contious queries in a database.
        /// </summary>
        /// <param name="database">The name of the database for which all continuous queries should be described.</param>
        /// <returns>A list of all contious queries.</returns>
        public async Task <List <ContinuousQuery> > DescribeContinuousQueriesAsync(string database)
        {
            InfluxDbApiResponse response = await _influxDbClient.GetContinuousQueries(NoErrorHandlers, database);

            return(response.ReadAs <List <ContinuousQuery> >());
        }
 public async Task <InfluxDbApiResponse> GetContinuousQueries(IEnumerable <ApiResponseErrorHandlingDelegate> errorHandlers, string database)
 {
     return(await _influxDbClient.GetContinuousQueries(errorHandlers, database));
 }