nyxxxie/serenity

class Project should provide getter for db connection instead of direct access

nanokatze opened this issue · 4 comments

class Project should provide getter for db connection instead of direct access

Do you mean provide a method called get_db() or something that returns sqlite object? If that, sure.

ya. call it Project.db() and store db connection in Project._db

Yeah sounds good, I'll add that method into the project class.

Added function in a4c0028, issue solved.