If the idea is to create record in table A for every record in table B and they are basically copies, best approach is to use bulk create API for table A and the json body is table B format as text to construct the JSON representation