|
|
@ -1634,7 +1634,7 @@ db.executemany(<span class="hljs-string">'<query>'</span>, <coll_of_abo |
|
|
|
|
|
|
|
<ul> |
|
|
|
<li><strong>Passed values can be of type str, int, float, bytes, None, bool, datetime.date or datetime.datetme.</strong></li> |
|
|
|
<li><strong>Bools will be stored and returned as ints and dates as ISO formatted strings.</strong></li> |
|
|
|
<li><strong>Bools will be stored and returned as ints and dates as <a href="#encode">ISO formatted strings</a>.</strong></li> |
|
|
|
</ul> |
|
|
|
<div><h3 id="example">Example</h3><pre><code class="python language-python hljs"><span class="hljs-meta">>>> </span>db = sqlite3.connect(<span class="hljs-string">'test.db'</span>) |
|
|
|
<span class="hljs-meta">>>> </span>db.execute(<span class="hljs-string">'create table t (a, b, c)'</span>) |
|
|
|