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:[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