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

Simplify construction of DB queries #3

Open
jsf9k opened this issue Nov 5, 2021 · 0 comments
Open

Simplify construction of DB queries #3

jsf9k opened this issue Nov 5, 2021 · 0 comments
Assignees
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use

Comments

@jsf9k
Copy link
Member

jsf9k commented Nov 5, 2021

💡 Summary

Determine if we can use f-strings instead of .format() for the PostgreSQL query variables. Also define the sql.Identifier() variables outside of the query constructions so that they can be reused where that is possible.

Motivation and context

Simplify, simplify.

@jsf9k jsf9k added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label Nov 5, 2021
@jsf9k jsf9k self-assigned this Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
None yet
Development

No branches or pull requests

1 participant