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

feat: create Client from connection string or environment variables #46

Closed alespour closed 1 year ago

alespour commented 1 year ago

Closes #

Proposed Changes

This PR adds support to create Client from

Checklist

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (b26e715) 98.84% compared to head (66100b7) 98.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #46 +/- ## ========================================== + Coverage 98.84% 98.90% +0.05% ========================================== Files 12 12 Lines 955 1007 +52 ========================================== + Hits 944 996 +52 Misses 11 11 ``` | [Files](https://app.codecov.io/gh/InfluxCommunity/influxdb3-csharp/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity) | Coverage Δ | | |---|---|---| | [Client/Config/ClientConfig.cs](https://app.codecov.io/gh/InfluxCommunity/influxdb3-csharp/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity#diff-Q2xpZW50L0NvbmZpZy9DbGllbnRDb25maWcuY3M=) | `100.00% <100.00%> (ø)` | | | [Client/Config/WriteOptions.cs](https://app.codecov.io/gh/InfluxCommunity/influxdb3-csharp/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity#diff-Q2xpZW50L0NvbmZpZy9Xcml0ZU9wdGlvbnMuY3M=) | `100.00% <100.00%> (ø)` | | | [Client/InfluxDBClient.cs](https://app.codecov.io/gh/InfluxCommunity/influxdb3-csharp/pull/46?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity#diff-Q2xpZW50L0luZmx1eERCQ2xpZW50LmNz) | `94.76% <100.00%> (+0.15%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.