Subject executemany and returning
Author Robert Dollinger
Hi,

is there a way to use executemany with the returning value in the
insert statement?

cursor.executemany("insert into table (field1, field2) Values (?, ?)
returning IDField", [(1,1),(2,2)])
data=cursor.fetchall()

It returns only the last Value of the IDField. I would obviously
receive all Values.

bye
Robert