bug fix ...

v2.4
Steve Nyemba 2 months ago
parent e7df1e967f
commit a6da232d5f

@ -64,7 +64,7 @@ class Base:
@TODO: Execution of stored procedures
"""
if sql.lower().startswith('select') or sql.lower().startswith('with') :
if sql.strip().lower().startswith('select') or sql.strip().lower().startswith('with') :
return pd.read_sql(sql,self._engine)
else:

Loading…
Cancel
Save