Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qmarkpg, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size qmarkpg-0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page