database abstraction -> functions

From: "Jeroen Olthof" <j(dot)olthof(at)millipede(dot)nl>
To: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: database abstraction -> functions
Date: 2002-09-24 07:45:14
Message-ID: amp565$2h8r$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Manfred Koizar 2002-09-24 08:33:51 Re: [SQL] CURRENT_TIMESTAMP
Previous Message Shridhar Daithankar 2002-09-24 07:02:43 Re: Postgresql Automatic vacuum

Browse pgsql-sql by date

  From Date Subject
Next Message Manfred Koizar 2002-09-24 08:33:51 Re: [SQL] CURRENT_TIMESTAMP
Previous Message Bruce Momjian 2002-09-24 03:52:55 Re: [GENERAL] CURRENT_TIMESTAMP