Eric,<div><br></div><div>I can't help fixing the problem with your current code, but I can point you to the docs where Ryan says you should probably use functions like "start-transaction", "commit-transaction" and "call-with-transaction" (in case you missed those).</div>
<div><br></div><div><a href="http://docs.racket-lang.org/db/query-api.html?q=db#(part._transactions)">http://docs.racket-lang.org/db/query-api.html?q=db#(part._transactions)</a></div>"""<br>PostgreSQL, MySQL, and SQLite connections are discouraged from using transaction-changing SQL statements<br>
"""<div><br></div><div>So, for example, <span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">(query-exec db "BEGIN TRANSACTION") becomes </span><font class="Apple-style-span" color="#222222" face="arial, sans-serif">(start-transaction db).</font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif">[]'s</font></div>
<div><font class="Apple-style-span" color="#222222" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" color="#222222" face="arial, sans-serif">Rodolfo Carvalho</font></div><div><br></div>