I guess when I think about what I would be doing I can only think of
procesing individual rows in the query not doing in processing to the
query itself...I can understand returning a query I use that plenty of
places... But thats kind of what i am getting at, when it comes to
pasing in a query, if I have an object that works at getting data and
returning queries why would i not just be passing in the object and
not the query? I am not saying its wrong one way is wrong, I am just
trying to understand, never had a place where I saw it
happening...guess an example is what i am looking for.

Adam H

On Mon, 17 Jan 2005 15:32:25 -0800, Sean Corfield
<[EMAIL PROTECTED]> wrote:
> On Mon, 17 Jan 2005 14:30:37 -0800, Adam Haskell <[EMAIL PROTECTED]> wrote:
> > When do you passa query to a CFC? I would think you would pass an
> > object the has a query set in it maybe but a complete Query? I mean I
> > am sure there are valid reason but none are coming to mind :)
> 
> Why are you surprised about this tactic? I pass query objects around
> in my code all the time: it's perfectly reasonable to return query
> objects from methods and pass them in as arguments. The query object
> is, after all, already an encapsulation of the raw data inside it.
> --
> Sean A Corfield -- http://www.corfield.org/
> Team Fusebox -- http://www.fusebox.org/
> Breeze Me! -- http://www.corfield.org/breezeme
> Got Gmail? -- I have 5 invites to give away!
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to