logo       

questions about the manager: msg#00002

lang.perl.modules.dbi.rose-db-object

Subject: questions about the manager

OK, I am trying to create a RDBO session store object for Catalyst::Plugin:Session::Store.

It all seems fairly straight forward until this comes up, I need to call manager methods, however I can not make the assumption that I know the names of these methods because they change. This seems like it could be easily solved by doing a select_objects(object_class => $object_class, where =>...)  but does anyone have a better idea?

also there since isnt anything like insert_or_update should i :

$class->insert unless $class->update;

or is save smart enough for that?

any plans for supporting on duplicate key update?
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise