Sunday, September 27, 2020

Django Mysql Bulk_Create Ids

How can we make this happen? 
What steps would be needed so that bulk_create ends up returning the ids of the items that just got created? I don't want to be machine gunning my db with save statements to retrieve ids. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/05b8f31e-f4e7-4f3f-b94a-2dea27568102n%40googlegroups.com.

No comments:

Post a Comment