influxdata / influxdata/influxdb1-client
Better examples showing querying database?
- Dominant language
- Go
- Stars
- 192
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
Right now the examples for querying show querying and immediately printing the result. It would be helpful to add an example showing a user querying and getting the structured data.
The struct returned is interesting https://godoc.org/github.com/influxdata/influxdb1-client/models#Row with a map, list, and list of lists of interface{}. A better example would be awesome.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the existing examples that query InfluxDB and immediately print the result, then inspect the models.Row structure linked in the issue. Add an example that demonstrates accessing the returned structured data, including its map and lists, and verify that the example clearly shows the queried values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100