﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32406	Allow QuerySet.update() to return fields on supported backends.	Tom Carrick	Aivars Kalvāns	"[https://groups.google.com/g/django-developers/c/qQ5DT91nBLM Mailing list]

For example:

{{{
Foo.objects.update(x=""abc"", returning=[""pk"", ""x""])
}}}

To return something like:

{{{
[
    {""pk"": 1, ""x"": ""abc""},
    {""pk"": 2, ""x"": ""abc""},
    {""pk"": 3, ""x"": ""abc""},
]
}}}

The exact API and implementation is still a little unclear, but there seems to be support for doing ''something''."	New feature	assigned	Database layer (models, ORM)	dev	Normal			Diego Lima Johannes Maron Michael Rosner John Speno Simon Charette Florian Demmer Ahmed Ibrahim şuayip üzülmez	Accepted	1	0	0	1	0	0
