Nim's db-api is nice but unfortunately the prepared statement is not exposed 
(so no bulk bind/fetch possible). You could call sqlite's internal 
"sqlite3_next_stmt" to see which preparedStatement is still open and not 
finalised and close these statements manually.. The runtime-error you are faced 
with is not a crash - it's just a polite hint from sqlite to inform you that 
something wrong going on...

Reply via email to