Python DB-API のサポート
インターシステムズでは、以下の 2 種類の実装で、Python Database API Specification がサポートされます。
-
InterSystems DB-API は、インターシステムズ・データベースへの直接のインタフェースを提供する PEP 249 バージョン 2.0Opens in a new tab に完全に準拠した実装です。
詳細は、"Native SDK for Python の使用法" の "Python DB-API の使用法" を参照してください。
-
pyodbc は、サードパーティのオープン・ソース Python モジュールです。インターシステムズでは、InterSystems ODBC ドライバ経由でデータベースにアクセスする手段として、pyodbc の使用がサポートされています。このモジュールは、2022.1 より前のバージョンの InterSystems IRIS でも使用できます。
詳細は、"InterSystems ODBC ドライバの使用法" の "pyodbc Python ODBC ブリッジのサポート" を参照してください。