When I use the database looping node I will want to look-up data for a given ID. Hence there is always 1 query per row and the IN clause will always only contain 1 ID. More importantly I would like to append the data returned from the query and keep the original data. This also does not work and an outer join is required after the lookup (because if data is missing the row will be missing from the lookup).
Also some lookups are not possible due to having to use IN. Example here would be lookup by chemical strucutre which uses custom function in database.
I think easiest would be a new node that allows this. Each column would be availabel for putting it into the SQL where clause as filter. The query is run for each row and the selected columns are appended (missing if null).
How can I achieve this currently?