Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 551 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 551 Bytes

Flux.Net

Nuget

Flux query builder fluent api for C#

Example:

QueryBuilder.From("datasource", "retention")
                .Filter(f => f.Measurement("measurementName")
                  .Select(s => s.Tags("tag1", "tag2", "tag3")
                    .Fields("field1", "field2"))
                  .Where("tag1 == 'tagevalue'"))
                .AbsoluteTimeRange(DateTime.Now.AddDays(-1), DateTime.Now)
                .ToQuery();