Changes between Initial Version and Version 1 of Ticket #28344, comment 33


Ignore:
Timestamp:
Dec 11, 2023, 10:38:56 AM (5 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28344, comment 33

    initial v1  
    4343refresh_from_db(using='other', from_queryset=Author.objects.using('default'))  # would use `other`
    4444refresh_from_db(fields=['first_name'], from_queryset=Author.objects.only('last_name')) # would use ['first_name']
     45}}}
    4546
    4647Why do you think the addition of a `refresh_from_queryset` method is warranted?
Back to Top