DAO = 1 row (typically)
delete/remove should return void... or throw an exception
>>> [EMAIL PROTECTED] 04/30/05 6:37 PM >>>
The number of rows deleted? A string ("127 planets deleted")? Success as
a
boolean? (What would that mean? True if all requested rows were deleted,
else false, even if some were? Don't like this...)
I like the string, mostly. It feels a little like interface stuff
though,
where the number of rows is more the actual action itself. But then
every
client of it has to do pretty much the same formatting of the string,
including pluralizing etc, so I'm liking the string.
Comments?
Dave Merrill
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]