Hi, All!

How to use the schema description generated Schema::Loader, for the scheme 
necessary to me?
For example, there is class DBIC::EMULATOR::Cruise, I write for the current 
scheme

use DBIC::EMULATOR;
my $schema = DBIC::EMULATOR->connect(...);
my $record = $schema->resultset('ship')->search()->first ();

But if I need to address to tables of other scheme, for example EMULATOR2, 
EMULATOR3, how it to make? 
Something like 

my $record = $schema->resultset(EMULATOR2.ship')->search ()->first();
my $record = $schema->resultset(EMULATOR3.ship')->search ()->first();

Similar questions were in this maillist, but the answer I has not found.

-- 
Konstantin Tokar
tel.:+7(495)9671850 ext. 528
fax: +7(495)7953211
e-mail: [email protected]
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to