I need to insert multiple values in one statement. Is this possible using groovy's prepared statements? I have the following
sql.execute("""
insert into all_priceuploaddummy (seller_sku) values (?.sku), (?.sku), (?.sku)
"""
, [[sku:1],[sku:2],[sku:3]])
But that inserts 3 times the first sku, 1
How can I do that without looping over all the entries?