Skip to content

Commit 5d498fc

Browse files
committed
Fix doctest error.
1 parent f79da0a commit 5d498fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

things/database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,10 @@ def make_date_filter(date_column: str, value) -> str:
651651
Examples
652652
--------
653653
>>> make_date_filter('startDate', True)
654-
'AND start_date IS NOT NULL'
654+
'AND startDate IS NOT NULL'
655655
656656
>>> make_date_filter('startDate', False)
657-
'AND start_date IS NULL'
657+
'AND startDate IS NULL'
658658
659659
>>> make_date_filter('startDate', 'future')
660660
"AND date(startDate, 'unixepoch') > date('now', 'localtime')"

0 commit comments

Comments
 (0)