[Dbix-class] How to retrieve table name from component?

Pedro Melo melo at simplicidade.org
Fri Jan 22 07:59:38 GMT 2010


Hi,

2010/1/22 Alex Povolotsky <tarkhil at over.ru>:
> Hello!
>
> I'm working on a bit weird system (cannot change protocol right now, alas).
>
> I have to convert DBIx::Class::Row object into INSERT clause, skipping NULL
> fields.
>
> Everything is quite simple, except proper retrieval of table name.
>
> lc($self->{_source_handle}->{source_moniker})

$row->result_source->from?

Bye,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org



More information about the DBIx-Class mailing list