DB-API Reference¶
-
class
pytd.dbapi.
Connection
(client)[source]¶ Bases:
object
The DBAPI interface to Treasure Data.
https://www.python.org/dev/peps/pep-0249/
The interface internally bundles pytd.Client. Implementation is technically based on the DBAPI interface to Treasure Data’s Presto query engine, which relies on presto-python-client: https://github.com/prestodb/presto-python-client.
- Parameters
- clientpytd.Client, optional
A client used to connect to Treasure Data.