CData Python Connector for Epicor Kinetic

Build 23.0.8839

接続

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;")

形式2


from sqlalchemy import create_engine
engine = create_engine("epicorerp://User:Password@/?Service=Erp.BO.CustomerSvc;ERPInstance=MyInstance;URL=https://myaccount.epicorsaas.com;")

SQLAlchemy 2.0 では、方言名はepicorerp_2 です。接続を確立するには、以下のURL 形式を使用します。

from sqlalchemy import create_engine
engine = create_engine("quickbooks_2:///?User=test;Password=test;URL=http://localhost:8166;")

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839