> > I mean, if your CFC returns a Query Object, how do you take
> > into account a Query that returns no rows? Is it just a Query
> > Object with a recordcount of 0? It's still an "okay"
> > QueryObject to pass out, right? It's just empty...right?
>
> Whether you create a query object in a CFC or anywhere else, if it has no
> records, it's simply a query with no records. It's still a "good" query
> object, I guess, although perhaps not very useful generally.
But useful, in sofar as you could build a little check <cfif
myQuery.recordcount GT 0> and it would work...
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Is an empty query object still a "good" quer... Jeff Small
- RE: Is an empty query object still a "good&q... Dave Watts
- Re: Is an empty query object still a "go... Jeff Small
- Re: Is an empty query object still a &quo... Dain Anderson
- Re: Is an empty query object still a ... Jeff Small
- RE: Is an empty query object still a &quo... Philip Arnold
- RE: Is an empty query object still a ... Barney Boisvert
- RE: Is an empty query object still a "good&q... Trevor Holm-Laursen
- RE: Is an empty query object still a "good&q... Trevor Holm-Laursen