Thanks a lot!
Joe Ferraro Web Application Developer Ken Cook Co.
Sean Corfield wrote:
On Mon, 15 Nov 2004 14:06:35 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
I'm using a DAO that, in turn, manages a database table. At this point
in time, I only need to pull two of the, let's say, five columns.
A DAO deals with data from a single row so usually it brings back all columns (and puts them into a business object or transfer object). DAOs typically only have CRUD methods. DAOs typically return nothing (if they update an object that is passed in) or they may return a populated object (e.g., for create()).
Your examples bring back query objects so I think you're really
talking about a data gateway instead in which case its methods will
return queries with whatever data your application needs.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at [EMAIL PROTECTED]
