接続
Dialect URL での接続
SQLAlchemy を使用して接続を確立するには、特定のURL 形式が使用されます。このコネクタでは、エンジンの作成時に次のURL 形式のいずれかを使用できます。
形式1
from sqlalchemy import create_engine
engine = create_engine("epicorerp:///?Service=Erp.BO.CustomerSvc;ERPInstance=MyInstance;URL=https://myaccount.epicorsaas.com;User=username;Password=password;")
Format 2
from sqlalchemy import create_engine
engine = create_engine("epicorerp://User:Password@/?Service=Erp.BO.CustomerSvc;ERPInstance=MyInstance;URL=https://myaccount.epicorsaas.com;")