Update from values
Yes:

```python
# let's say we want to update two rows.
vl = ValuesList([
    (1, 'huey-x'),
    (2, 'zaizee-x')], columns=['id', 'username'], alias='vl')
query = (User
         .update({'username': vl.c.username})
         .from_(vl)
         .where(User.id == vl.c.id))
``` Also you can look at the tests:

https://github.com/coleifer/peewee/blob/fc342ddcfda268a27e40a8178982ddf747de80a8/tests/models.py#L4120-L4162
Is there a way to create following query for batch updating rows from given values?

```sql
UPDATE mytable m
SET 
    field1 = v.field1, 
    field2 = v.field2
FROM (SELECT * FROM (VALUES %s) as t (id, field1, field2)) v
WHERE m.id = v.id
```