mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
This commit is contained in:
parent
7b159df942
commit
9cbdb44014
11 changed files with 359 additions and 8 deletions
|
@ -718,3 +718,8 @@ class RelatedIndividual(models.Model):
|
|||
|
||||
class Meta:
|
||||
db_table = 'RelatedIndividual'
|
||||
|
||||
|
||||
class CustomDbColumn(models.Model):
|
||||
custom_column = models.IntegerField(db_column='custom_name', null=True)
|
||||
ip_address = models.GenericIPAddressField(null=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue