What is the best way to import thousands of processing histories into my primary darktable database?

I think I also misunderstood you …you have say 3000 pics on sd cards… you are selectively editing some of these on the laptop but not all… so I am thinking if you get home and as long as you import the ones from the laptop first and dont’ allow any duplicates when you update from the sd cards won’t you be fine??