title: 注意
优点:
- DmJdbcDriver18.jar比较容易找到,不需要像安装dmPython(需要安装达梦客户端)一样麻烦
- 可以与pandas配合使用,且不需要指定pandas版本
缺点:
- 不能使用pd.to_sql进行写入
- jaydebeapi.connect()直接返回了Connection,且不能配合SQLAlchemy创建engine
- 虽然不使用SQLAlchemy也可以与pandas配合使用,但是pandas会报出warning
> UserWarning: pandas only supports SQLAlchemy connectable (engine/connection) or database string URI or sqlite3 DBAPI2 connection. Other DBAPI2 objects are not tested. Please consider using SQLAlchemy.