-
In Django i want to see the sql in jupyter notebook in the way same way shown using ipython
Eg:
python manage.py shell_plus --ipython --print-sql
In[1]: User.objects.all()
Ou…
-
`SELECT ARRAY[1]
-
Hi,
I think could be useful a method that returns True the query statement have at least one where clause.
Ex:
```python
stmt = sqlparse.parse("select 1 from dual where 1 = 1")[0]
stmt.has_wh…
-
Pillow
docutils
sqlparse (not sure about this one)
pytz (not sure about this one)
-
I was trying to combine sqlparse.parsestream with reading from stdin, but could not get it to work properly. Here's my approach:
stream.py:
```
import sys
import os
import sqlparse
#newin = os.fdop…
-
A chart built off of a virtual datasource is erroring saying that the virtual datasource must be readonly but the query is only a select query (it is not modifying any table). It does contain WITH sta…
-
Using sqlparse 0.3.0, currently testing with the following input:
```sql
SELECT
foo
FROM (
VALUES ('abc', 'foo'), ('def', 'bar'), ('ghi', 'baz')
) as tmp (foo, bar)
```
which sqlparse …
-
### Describe the bug
In PostgreSQL, the following query is valid:
```sql
SELECT extract('epoch' FROM now());
```
However, in Datafusion I get the following error:
```
Invalid statement: sql p…
-
This is an ongoing task to check library deprecations and upgrade as necessary.
Any library upgrades should be done at the beginning of development cycle so that we can resolve any upgrade-related is…
-
Parsing a sql with parenthesis right after keyword without any whitespace characters (which is syntactically correct in SQL standard) will produce the belowing unexpected result:
```python
sqlparse.…