I want to create Database layer and I am confused how to create / start with it.
The database layer mainly contains this three files for instance
- The database model layer where user's model resides
- The BaseModel/layer where all the instances (insert, update, delete) etc resides
- The database access layer.
I am confused in how to create that 3rd point . (I am following the class based architecture)
If any one have solution/tutorial/documentation please share .
Thank you