Обсуждение: database abstraction -> functions

Поиск
Список
Период
Сортировка

database abstraction -> functions

От
"Jeroen Olthof"
Дата:
Hi,

When developing applications is a good thing to create abstraction between
different layers
The one concerning the database would be the persistence layer. To create
such abstraction I want all mij datababase activitie runned through
functions. But how can I return a set of rows instead of a single datatype
(I looked into the setof but never found a clear simple)?

kind regards
Jeroen Olthof