pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeroen Olthof <j.olthof@millipede.nl>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: database abstraction -> functions
Date: Tue, 24 Sep 2002 09:45:14 +0200
Message-ID: <amp565$2h8r$1@news.hub.org> (raw)

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







view thread (2+ messages)  latest in thread

Message-ID: <amp565$2h8r$1@news.hub.org>
Permalink:  ../amp565$2h8r$1@news.hub.org/
Also on:    postgresql.org/message-id/amp565$2h8r$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: j.olthof@millipede.nl, pgsql-general@postgresql.org
  Subject: Re: database abstraction -> functions
  In-Reply-To: <amp565$2h8r$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox