A psycopg2 wrapper using the qmark parameters style
Project description
The qmarkpg package is a psycopg2 wrapper allowing the use of “qmark” placeholders style for query arguments (i.e. ? instead of %s). There is no support for parameters dictionaries: only positional parameters are allowed.
Adopting “qmark” and dropping support for “format” (i.e. %s) and “pyformat” (i.e. %(name)s) placeholders is not in program for future Psycopg versions; however, maintainers of multi-database environments may find the “qmark” placeholder style more useful for cross-database compatibility: this module is designed to support such requirement without requiring extensive rewriting of application directly using psycopg2.
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 qmarkpg-0.2.tar.gz
.
File metadata
- Download URL: qmarkpg-0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0a90e5587413b6f54e7818a3bb209db2f65c92e4ce43af643d9824a48c672f |
|
MD5 | e348a30a4580c811793e625c4d866031 |
|
BLAKE2b-256 | 4af56672f99f44a116dcfec269dc49a4bb6ce3b12a709241011ece98c6ccd0b8 |