Check out example codes for "influxdb delete measurement based on date". It will help you in understanding the concepts better.

Code Example 1

# InfluxDB: delete from measurement, based on time
DELETE FROM foo WHERE time > '2014-06-30' and time < '2014-06-30 15:16:01'

Learn ReactJs, React Native from akashmittal.com