Browse Source

SQLite

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

2
README.md

@ -1870,7 +1870,7 @@ with <con>:
```python
<con>.execute('<query>', <list/tuple>) # Replaces '?'s in query with values.
<con>.execute('<query>', <dict/namedtuple>) # Replaces ':<key>'s with values.
<con>.executemany('<query>', <coll_of_above>) # Runs execute() many times.
<con>.executemany('<query>', <coll_of_above>) # Runs execute() multiple times.
```
### Example

2
index.html

@ -1682,7 +1682,7 @@ CompletedProcess(args=[<span class="hljs-string">'bc'</span>, <span class="hljs-
<li><strong>Bools will be stored and returned as ints and dates as <a href="#encode">ISO formatted strings</a>.</strong></li>
</ul><pre><code class="python language-python hljs">&lt;con&gt;.execute(<span class="hljs-string">'&lt;query&gt;'</span>, &lt;list/tuple&gt;) <span class="hljs-comment"># Replaces '?'s in query with values.</span>
&lt;con&gt;.execute(<span class="hljs-string">'&lt;query&gt;'</span>, &lt;dict/namedtuple&gt;) <span class="hljs-comment"># Replaces ':&lt;key&gt;'s with values.</span>
&lt;con&gt;.executemany(<span class="hljs-string">'&lt;query&gt;'</span>, &lt;coll_of_above&gt;) <span class="hljs-comment"># Runs execute() many times.</span>
&lt;con&gt;.executemany(<span class="hljs-string">'&lt;query&gt;'</span>, &lt;coll_of_above&gt;) <span class="hljs-comment"># Runs execute() multiple times.</span>
</code></pre></div>

Loading…
Cancel
Save