'Assign the cached value of ``field`` for all records in ``records``.'

def __setitem__(self, field, value):

    if isinstance(field, basestring):
        field = self._recs._fields[field]
    values = dict.fromkeys(self._recs._ids, value)
    self._recs.env.cache[field].update(values)
