shahrukh ahmed
11/05/2021, 10:51 AMRyan
11/05/2021, 10:56 AMcreatedAt
and updatedAt
and then compare them to see if itβs a create or an update.shahrukh ahmed
11/05/2021, 11:01 AMobj, created = Person.objects.update_or_create(
first_name='John', last_name='Lennon',
defaults={'first_name': 'Bob'},
)
Anyways, Prisma has been real fun to use. π
Thanks.Ryan
11/05/2021, 11:13 AMshahrukh ahmed
11/05/2021, 11:35 AM