Lit">&quot;bar&quot;</span><span class="Punctuation">]</span>
<span class="Identifier">t</span><span class="Operator">.</span><span class="Identifier">reset</span><span class="Punctuation">(</span><span class="Punctuation">)</span>  <span class="Comment"># read-only transactions are always reset</span></pre><div class="admonition admonition-warning"><span class="admonition-warning-text"><b>Caution:</b></span>
Make sure to reset transactions when exceptions are thrown. If you use a database object directly w