Skip to content

Commit bc9e225

Browse files
authored
Adding example on querying for missing values (#74)
1 parent 15aafc9 commit bc9e225

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,10 @@ Example query for sources with declinations larger than 0::
264264

265265
db.query(db.Sources).filter(db.Sources.c.dec > 0).table()
266266

267+
Example query for rows with missing data::
268+
269+
db.query(db.Publications).filter(db.Publications.c.doi.is_(None)).table()
270+
267271
Example query returning just a single column (source) and sorting sources by declination::
268272

269273
db.query(db.Sources.c.source).order_by(db.Sources.c.dec).table()

0 commit comments

Comments
 (0)