records = ORM.search(type='X') for record in records: record.a = record.b + 30
This is the example in their docs:
Entry.objects.all().update(n_pingbacks=F('n_pingbacks') + 1)
update records set a = b + 30 where type = 'X'