tmthyjames / SQLCell

SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
MIT License
151 stars 11 forks source link

Show current engine for each query #109

Open tmthyjames opened 5 years ago

tmthyjames commented 5 years ago

By either printing it off above results or using a global var that is set after each query like:

%%sql
select foo from bar

in another cell print _CE_ (or something):

> print(_CE_)
<engine-string> 

Should any other details be printed/returned? Should the object be returned to perform actions on it?