InfluxCommunity / influxdb3-csharp

The C# .NET Client that provides a simple and convenient way to interact with InfluxDB 3.
https://InfluxCommunity.github.io/influxdb3-csharp/
MIT License
24 stars 6 forks source link

strongly typed query responses #49

Closed nkostis closed 1 year ago

nkostis commented 1 year ago

Use Case

hi is there a plan to support strongly typed response objects to influx queries?

Expected behavior

we'd expect responses to be similar to influx v2 and v1 drivers, where timestamps, tags and fields are clearly defined and shown and can easily be understood and manipulated.

Actual behavior

Currently the responses are ienumerable of object[]:

public async IAsyncEnumerable<object?[]> Query(string query, QueryType? queryType = null, string? database = null)

Additional info

No response

bednar commented 1 year ago

Hi @nkostis,

we are currently works https://github.com/InfluxCommunity/influxdb3-csharp/pull/40. For more info see:

https://github.com/InfluxCommunity/influxdb3-csharp/pull/40/files#diff-ea62c7ee5ca92cf51704098db673cf40af3b3463324d7c86f7b25556a44f76e8

Best