SQLAlchemy PostgreSQL Catalog Definition
SQLAlchemy schema definition (partially reflected) for the PostgreSQL catalog (pg_catalog schema)
Example
Simple example:
>>> import sqlalchemy
>>> import sqlalchemy_pgcatalog
>>> engine = sqlalchemy.create_engine("postgresql://localhost:5432/examples")
>>> list(engine.execute(select([sqlalchemy_pgcatalog.Lock])))
[('relation', 320034, 11090, None, None, None, None, None, None, None, '2/77352', 23112, 'AccessShareLock', True, True),
('virtualxid', None, None, None, None, '2/77352', None, None, None, None, '2/77352', 23112, 'ExclusiveLock', True, True)]
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 sqlalchemy_pgcatalog-0.1.1.zip.
File metadata
- Download URL: sqlalchemy_pgcatalog-0.1.1.zip
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ced2e2929ffe20a79daa2262ca048711641958ded543a4cfd6eaec360eadcff6
|
|
| MD5 |
d04dc56fd6cd318b7181b0022a5592bc
|
|
| BLAKE2b-256 |
faa81f0316ba65bffe02c6e6d90e782c213f820eb23e88531b1fc8b41c85cff3
|