SQLAlchemy support for Informix Servers
Project description
Informix Alchemy Adapter
The Informix Alchemy adapter provides the Python/SQLAlchemy interface to Informix Servers.
Version
x.x.x
Prerequisites
- Python 3.5.x .
- SQLAlchemy 0.7.3 or above.
- IfxPy driver and IfxPyDbi
Install and Configuration
The Informix Alchemy Python Egg component (.egg) can be installed using the standard setuptools provided by the Python Easy Install through Python Enterprise Application Kit community portal: http://peak.telecommunity.com/DevCenter/EasyInstall
Please follow the steps provided to Install "Easy Install" in the link above and follow up with these additional steps to install Informix Alchemy:
- To install Informix Alchemy from source Standard Python setup should be used:: python setup.py build python setup.py install
Connecting
A TCP/IP connection can be specified as the following::
from sqlalchemy import create_engine
e = create_engine("informix://user:pass@host[:port]/database")
For a local socket connection, exclude the "host" and "port" portions::
from sqlalchemy import create_engine
e = create_engine("informix://user:pass@/database")
Known Limitations in InfAlchemy adapter for Informix databases
- Non-standard SQL queries are not supported. e.g. "SELECT ? FROM TAB1"
- For updations involving primary/foreign key references, the entries should be made in correct order. Integrity check is always on and thus the primary keys referenced by the foreign keys in the referencing tables should always exist in the parent table.
- Unique key which contains nullable column not supported
- UPDATE CASCADE for foreign keys not supported
- DEFERRABLE INITIALLY deferred not supported
- Subquery in ON clause of LEFT OUTER JOIN not supported
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file IfxAlchemy-1.0.1.tar.gz
.
File metadata
- Download URL: IfxAlchemy-1.0.1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103fe60c92717081c9fb3b070ca3debe451b00273150c68427c6bd5cef485156 |
|
MD5 | b11dd690fc9e73c00c40a6107db4752c |
|
BLAKE2b-256 | b867ba96d9d3d230aaf948dc8de98eb0287ec10b7303053258d577476f72d4cf |