Hi,
I've been digging around for a while and haven't found something suitable for the usecase that I'm using neo4j for. I need to generate potentially a massive list (tens of thousands) of merge queries. I've gotten things into the format of a list of queries and params </{query, param}>. apoc.periodic.iterate seems to be similar to what I need but the issue with that is that iterate expects the same cypherAction for each item. I need something performant that I can iterate through and perform a different action for each item. It would also be great if the procedure also handled rollback. Does this exist?
Ideally something that looks like
</
UNWIND $data as data
CALL apoc....(
data,
data.query + data.params,
{ batchSize:1000 }
)