CData Python Connector for SAP Fieldglass

Build 22.0.8479

接続

Dialect URL での接続

SQLAlchemy を使用して接続を確立するには、特定のURL 形式が使用されます。このコネクタでは、エンジンの作成時に次のURL 形式のいずれかを使用できます。

形式1


from sqlalchemy import create_engine
engine = create_engine("sapfieldglass:///?EnvironmentURL='https://myinstance.com';User=myuser;Password=mypassword;APIKey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("sapfieldglass://User:Password@/?APIKey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;EnvironmentURL=https://myinstance.com;")

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479