* *delete multiple time series, including data and schema *params *paths: []string, time series paths, which should be complete (starts from root) *return *error: correctness of operation */
(paths []string)
| 412 | *error: correctness of operation |
| 413 | */ |
| 414 | func (s *Session) DeleteTimeseries(paths []string) error { |
| 415 | r, err := s.client.DeleteTimeseries(context.Background(), s.sessionId, paths) |
| 416 | if err != nil && r == nil { |
| 417 | if s.reconnect() { |
| 418 | r, err = s.client.DeleteTimeseries(context.Background(), s.sessionId, paths) |
| 419 | } |
| 420 | } |
| 421 | if err != nil { |
| 422 | return err |
| 423 | } |
| 424 | return VerifySuccess(r) |
| 425 | } |
| 426 | |
| 427 | /* |
| 428 | *delete all startTime <= data <= endTime in multiple time series |
nothing calls this directly
no test coverage detected