Skip to content

Latest commit

 

History

History

libro-sql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

libro-sql

使用

加载

%load_ext libro_sql

设置

from libro_sql.database import db
db.config({
    'db_type': '',
    'username': '',
    'password': '',
    'host': '',
    'port': 5432,
    'database': ''
})

执行

%%sql
{"result_variable":"a", "sql_script":"select 1"}