What I request from you is to insert _from a minimal nim script_ and then check 
that the values in the DB were inserted escaped.

Don't do anything fancy with the insertion, four lines are enough:
    
    
    import db_sqlite
    
    let db = open("test.db", "", "", "")
    db.exec(sql"CREATE TABLE IF NOT EXISTS my_table (my_col text)"
    db.exec(sql"INSERT INTO my_table (my_col) values (?)", "my_string")
    
    Run

Now go check what is in the DB with the sqlite command line. My experience 
debugging code without code posted is that 9 out of 10 times the problem is in 
the ghost code.

Reply via email to