Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better errors for database query style issues #24

Open
davenquinn opened this issue Jan 14, 2024 · 0 comments
Open

Better errors for database query style issues #24

davenquinn opened this issue Jan 14, 2024 · 0 comments

Comments

@davenquinn
Copy link
Member

This module allows mixing three different styles of query formatting:

  1. SQLAlchemy-style high-level parameter binding
  2. Psycopg2 parameter/identifier binding
  3. DBAPI binding and adaptors

More may be added in the future, e.g., for support of SQLite with similar semantics to Psycopg2

Styles 2 and 3 allow both parameter and identifier binding, but with different semantics. We should make an attempt to inform the user when they are misusing these overlapping features with meaningful error messages.

@davenquinn davenquinn changed the title Better issues for database query style issues Better errors for database query style issues Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant