﻿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
34277	Add where clause in QuerySet.bulk_create() when update_conflicts=True	Alain Delplanque	HAMA Barhamou	"To import objects from one database to another, it would be necessary to filter rows that are subject to an update. Which in plain sql looks like:

{{{
INSERT INTO my_table (field1, ...)
VALUES ...
ON CONFLICT (pk)
DO UPDATE SET field1 = EXCLUDED.field1, ...
WHERE lastupdated < EXCLUDED.lastupdated
}}}
"	New feature	assigned	Database layer (models, ORM)	dev	Normal			Chih Sean Hsu HAMA Barhamou	Accepted	1	0	0	0	0	0
