Skip to content

Conversation

@brycekbargar
Copy link
Collaborator

LDlite has been playing fast and loose with concatenating sql strings. It's probably fine but psycopg's sql module is intended to make this safe. While refactoring the existing code to implementing the sql module I've abstracted it into a database class intended to be overridden. In the first implementation we're still using the DBType enum and a single implementation, this will change in future into separate postgres and duckdb implementations without the DBType enum.

@brycekbargar brycekbargar marked this pull request as draft September 11, 2025 17:04
@brycekbargar brycekbargar marked this pull request as ready for review September 11, 2025 17:24
@brycekbargar brycekbargar merged commit 462a9ce into library-data-platform:release-v3.2.0 Sep 11, 2025
@brycekbargar brycekbargar deleted the database-abstraction branch December 9, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant