Skip to content

Commit a77f164

Browse files
authored
Add missing line to example in README
1 parent 041aa8e commit a77f164

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ The exported `sql` and `sql_val` variables are magic objects that can be used to
5050
3 All natural disasters 1903 6506
5151
4 All natural disasters 1905 22758
5252

53+
>>> disasters = sql^ "SELECT * FROM 'disasters.csv'"
54+
5355
>>> def total_deaths(entity: str) -> float:
5456
... return sql_val^ "SELECT SUM(deaths) FROM disasters WHERE Entity = $entity"
5557
...

0 commit comments

Comments
 (0)