[Solar-talk] Solar_Sql and family
Matt M.
goodieboy at gmail.com
Wed Oct 18 06:26:07 PDT 2006
Hi,
My question is about Solar_Sql_Row::setSave(). Why is this named to
specifically do saves? As in insert and update? Why not call this something
like setTable(), because this would be kind of strange:
$row->getSave()->delete($id)
;
How about:
$row->getTable()->delete($id)
instead?
Also, it looks like there is no way to set the row class after you get a
rowset? The Solar_Sql_Rowset that is returned from a select('all', etc.)
will always return a Solar_Sql_Row. Does that mean that if I do a
select('all'), I will have to set the row set class to specify the row
class? Sorry, if I've made this hard to understand!
Last question... how do you do a select with an "OR" using the table class?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.killersoft.com/pipermail/solar-talk/attachments/20061018/099364ac/attachment.htm
More information about the solar-talk
mailing list