Hi @Kabirdas,
thanks for the answer. I tried to use the Returning-Keyword, but I had the issue that I was not able to insert the data correctly in SQL-mode. I only got it to write all entries of my array as one single entry in the database but I needed a single row for each entry.
I now got it to work using individual gui-insert and select queries