Skip to content

Commit 3b28a1e

Browse files
committed
SQLite
1 parent 2515fe0 commit 3b28a1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ db.execute('<query>', <dict/namedtuple>) # Replaces ':<key>'s with values
18281828
db.executemany('<query>', <coll_of_above>) # Runs execute() many times.
18291829
```
18301830
* **Passed values can be of type str, int, float, bytes, None, bool, datetime.date or datetime.datetme.**
1831-
* **Bools will be stored and returned as ints and dates as ISO formatted strings.**
1831+
* **Bools will be stored and returned as ints and dates as [ISO formatted strings](#encode).**
18321832

18331833
### Example
18341834
```python

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@
16341634

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

0 commit comments

Comments
 (0)