Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The Data Mapper is only responsible for the relationship between a table row and an object in memory.
Repository is responsible for fetching objects from the database. That is more of a search. Well or not from a DB. It's just a thing that can return a collection of objects from somewhere.
design-pattern.ru/patterns/repository.html
frankly, it's garbage, not a pattern. type syntactic sugar + a collection of objects
I'm afraid, except for the author, no one will give an answer to this question. this is a very special case of a very vague pattern.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question