My application layer handles the "updated" timestamp of a DB row. The app uses a service layer and a repository layer before it touches the DB.
My question is, where should the timestamp logic appear? E.g., should it be in clientsService->updateClient();
or in clientsRepo->updateClient();
?
Aucun commentaire:
Enregistrer un commentaire