are you somehow using lazy seq's to do the inserts?
@chrisblom possibly? Sorry, still a noob
(defn domainep-parse-insert
[domainep-record]
(let [{:keys [code libelle],
{grandDomaine :code} :grandDomaine} domainep-record]
(sqlhelpers/insert! ds :domaineProfessionel
{:code code,
:libelle libelle,
:grandDomaine grandDomaine})))
(map domainep-parse-insert domainep-data)
try
(doall (map domainep-parse-insert domainep-data))
map
is lazily evaluated. The repl may just evaluate the first N elements to print them, an leave the rest
doall
forces evaluation of the whole sequence
fyi, if you don't need the results you can use (run! ...)
instead of (doall (map ...))
awesome, let me try run!
Looks like it's working! thanks so much @chrisblom!