Generic data access object #992
-
Hi, Is it possible to write a generic data access object? For example Instead of writing
I want to write
and therefore, I can have a generic DAO class as below
I wouldn't have to implement the getAll method in my concrete DAOs A concrete DAO would look as below
Is there a generic implementation? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you can write some generic daos with moor. You can check this issue for an example. |
Beta Was this translation helpful? Give feedback.
Yes, you can write some generic daos with moor. You can check this issue for an example.