code: def _insert(self, name, value, timestamp, intervals, **kwargs):
      '''
      Insert the new value.
      '''
      if self._value_type in QUOTE_TYPES and not QUOTE_MATCH.match(value):
        value = "'%s'"%(value)
  
      for interval,config in self._intervals.items():
        timestamps = self._normalize_timestamps(timestamp, intervals, config)
        for tstamp in timestamps:
          self._insert_data(name, value, tstamp, interval, config, **kwargsf _insert(self, name, value, timestamp, intervals, **kwargs):
      '''
      Insert the new value.
      '''
      if self._value_type in QUOTE_TYPES and not QUOTE_MATCH.match(value):
        value = "'%s'"%(value)
  
      for interval,config in self._intervals.items():
        timestamps = self._normalize_timestamps(timestamp, intervals, config)
        for tstamp in timestamps:
          self._insert_data(name, value, tstamp, interval, config, **kwargs)
docs: Insert the new value.