Closed alespour closed 1 year ago
Merging #31 (7445c91) into feat/custom-headers (55fd7c9) will increase coverage by
2.03%
. The diff coverage is78.17%
.
@@ Coverage Diff @@
## feat/custom-headers #31 +/- ##
=======================================================
+ Coverage 79.32% 81.35% +2.03%
=======================================================
Files 8 9 +1
Lines 532 574 +42
=======================================================
+ Hits 422 467 +45
+ Misses 95 93 -2
+ Partials 15 14 -1
Files Changed | Coverage Δ | |
---|---|---|
influxdb3/point.go | 100.00% <ø> (ø) |
|
influxdb3/reflection.go | 50.00% <ø> (ø) |
|
influxdb3/query_iterator.go | 43.26% <43.26%> (ø) |
|
influxdb3/query.go | 81.81% <81.81%> (ø) |
|
influxdb3/write.go | 97.56% <97.56%> (ø) |
|
influxdb3/client.go | 91.58% <100.00%> (ø) |
|
influxdb3/error.go | 100.00% <100.00%> (ø) |
|
influxdb3/fix_url.go | 100.00% <100.00%> (ø) |
|
influxdb3/query_type.go | 100.00% <100.00%> (ø) |
Proposed Changes
influx
->influxdb3
Configs
->ClientConfig
HostUrl
->Host
AuthToken
->Token
WriteParams
->WriteOptions
Consistency
removed (not supported by 3.x)Query
method has sibling methodQueryWithOptions
with additional parameter ofQueryOptions
type, which allows to specify database and query type (like eg. in Java client)WriteXXX
methods has variants withWriteXXXWithOptions
with parameter ofWriteOptions
type, which allows to specify database and precision (like eg. in Java client)Checklist