def _update_data(self, name, value, timestamp, interval, config, conn):
    i_time = config['i_calc'].to_bucket(timestamp)
    if not config['coarse']:
      r_time = config['r_calc'].to_bucket(timestamp)
    else:
      r_time = None
    stmt = self._table.update().where(
      and_(
        self._table.c.name==name,
        self._table.c.interval==interval,
        self._table.c.i_time==i_time,
        self._table.c.r_time==r_time)
    ).values({self._table.c.count: self._table.c.count + value})
    rval = conn.execute( stmt )
    return rval.rowcount
Plug the frame to the north of the widget.
dataset/ETHPy150Open agoragames/kairos/kairos/sql_backend.py/SqlCount._update_data--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/qt/docking/layout_handling.py/_plug_compass_north