Skip to content

Commit

Permalink
duckdb version
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed May 22, 2023
1 parent b7baa74 commit 86214ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/api/magic-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ FROM my_data
LIMIT 3
"""
%sql $QUERY
%sql {{QUERY}}
```

## Templated SQL queries
Expand All @@ -228,11 +228,11 @@ limit_two = template.substitute(limit=2)
**Important:** Ensure you sanitize the input parameters; as malicious parameters will be able to run arbitrary SQL queries.

```{code-cell} ipython3
%sql $limit_one
%sql {{limit_one}}
```

```{code-cell} ipython3
%sql $limit_two
%sql {{limit_two}}
```

## Compose large queries
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"pkgmt",
"twine",
# tests
"duckdb",
"duckdb==0.7.1",
"duckdb-engine",
"pyodbc",
# sql.plot module tests
Expand Down

0 comments on commit 86214ca

Please sign in to comment.