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

Refactor database-util.ts file into a class #1653

Open
marcocastignoli opened this issue Sep 23, 2024 · 0 comments
Open

Refactor database-util.ts file into a class #1653

marcocastignoli opened this issue Sep 23, 2024 · 0 comments

Comments

@marcocastignoli
Copy link
Member

We are passing databasePool and schema to every function inside database-util.ts. It's better if we move all the functions that query the database into a class and then use its properties to access databasePool and schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint - In Progress
Development

No branches or pull requests

1 participant