Browse Source

SQLite

pull/83/head
Jure Šorn 4 years ago
parent
commit
f89456b0f8
2 changed files with 4 additions and 4 deletions
  1. 4
      README.md
  2. 4
      index.html

4
README.md

@ -1855,8 +1855,8 @@ import sqlite3
### Write ### Write
```python ```python
<con>.execute('<query>')
<con>.commit()
<con>.execute('<query>') # Can raise a subclass of sqlite3.Error.
<con>.commit() # Commits all transactions since last commit.
``` ```
#### Or: #### Or:

4
index.html

@ -1672,8 +1672,8 @@ CompletedProcess(args=[<span class="hljs-string">'bc'</span>, <span class="hljs-
</code></pre></div> </code></pre></div>
<div><h3 id="write-1">Write</h3><pre><code class="python language-python hljs">&lt;con&gt;.execute(<span class="hljs-string">'&lt;query&gt;'</span>)
&lt;con&gt;.commit()
<div><h3 id="write-1">Write</h3><pre><code class="python language-python hljs">&lt;con&gt;.execute(<span class="hljs-string">'&lt;query&gt;'</span>) <span class="hljs-comment"># Can raise a subclass of sqlite3.Error.</span>
&lt;con&gt;.commit() <span class="hljs-comment"># Commits all transactions since last commit.</span>
</code></pre></div> </code></pre></div>
<div><h4 id="or">Or:</h4><pre><code class="python language-python hljs"><span class="hljs-keyword">with</span> &lt;con&gt;: <div><h4 id="or">Or:</h4><pre><code class="python language-python hljs"><span class="hljs-keyword">with</span> &lt;con&gt;:

Loading…
Cancel
Save