[Dbix-class] Fetch resultset without related resultsets?
dreel at bk.ru
dreel at bk.ru
Mon Nov 5 21:48:11 GMT 2007
Hallo all.
What shell I do if to get only the main resultset without the related
results attached by scheme references.
$rs = $scheme->resulrset(MyDb::Table)->search(
{},
{
select => ['type'],
group_by => [qw/ type /]
});
and
Table->has_many (Table2,...);
Table->has_many (Table3,...) ;
The Dump of $rs returns all data from Table and Table2, Table3
But my connection to MS SQL Server is too slow and I want to prevent
extra data transfer.
How can I detach main result set from related?
--
dreel mailto:dreel at bk.ru
More information about the DBIx-Class
mailing list