I'm writing a plugin where I need to save data in custom tables, function hits an API and then saves data for which I need bulk insert, but as wpdb doesn't support it out of the box I made a function for it using prepare and query.
But query doesn't return inserted row IDs. How can I get them? Any other way or anything besides using wpdb?