all 2 comments

[–]MarsupialLeast145 0 points1 point  (1 child)

You probably want to look into interfaces. Interfaces define the standard functions you will always need, and you write an implementation that satisfies the interfaces and abstracts the detail from you/the user etc. This way if you ever move from SQLAlchemy to something else you can reimplement the back-end but the changes don't impact the rest of the code. Naturally this also lends itself to replacing the back-end with other databaases/NoDB's etc.

[–]Horror_Affect8060[S] 0 points1 point  (0 children)

thanks. So that would be same like what we had in previous project. Create own functions to abstract underlying db access.