Interface IDeleteApi
Namespace: InfluxDB.Client
Assembly: InfluxDB.Client.dll
Syntax
public interface IDeleteApi
Methods
Delete(DateTime, DateTime, String, Bucket, Organization, CancellationToken)
Delete Time series data from InfluxDB.
Declaration
Task Delete(DateTime start, DateTime stop, string predicate, Bucket bucket, Organization org, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | start | Start time |
| DateTime | stop | Stop time |
| System.String | predicate | Sql where like delete statement |
| Bucket | bucket | The bucket from which data will be deleted |
| Organization | org | The organization of the above bucket |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| Task |
Delete(DateTime, DateTime, String, String, String, CancellationToken)
Delete Time series data from InfluxDB.
Declaration
Task Delete(DateTime start, DateTime stop, string predicate, string bucket, string org, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | start | Start time |
| DateTime | stop | Stop time |
| System.String | predicate | Sql where like delete statement |
| System.String | bucket | The bucket from which data will be deleted |
| System.String | org | The organization of the above bucket |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| Task |
Delete(DeletePredicateRequest, String, String, CancellationToken)
Delete Time series data from InfluxDB.
Declaration
Task Delete(DeletePredicateRequest predicate, string bucket, string org, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePredicateRequest | predicate | Predicate delete request |
| System.String | bucket | The bucket from which data will be deleted |
| System.String | org | The organization of the above bucket |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| Task |