sourcify icon indicating copy to clipboard operation
sourcify copied to clipboard

Refactor `database-util.ts` file into a class

Open marcocastignoli opened this issue 5 months ago • 0 comments

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.

marcocastignoli avatar Sep 23 '24 14:09 marcocastignoli