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

Port Settings DAO to use PDO #539

Merged
merged 4 commits into from
Dec 20, 2021
Merged

Port Settings DAO to use PDO #539

merged 4 commits into from
Dec 20, 2021

Conversation

jaragunde
Copy link
Member

@jaragunde jaragunde commented Dec 15, 2021

This does some refactoring to reuse the PDO connection object and ports another DAO, ConfigDAO, to use this API.

Part of #513.

This should ease the implementation of PDO in other DAOs. Besides, it
will allow to reuse the connection for all DAO objects instead of
creating a new one every time.
This makes it accessible to other DAOs extending BaseDAO.
Copy link
Member

@anarute anarute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me, I also tested locally.

@jaragunde jaragunde merged commit f134ab1 into main Dec 20, 2021
@jaragunde jaragunde deleted the i513-pdo-for-settings-table branch December 20, 2021 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants