[Rt-devel] SearchBuilder help needed

Agnislav Onufrijchuk Agnislav.Onufrijchuk at portaone.com
Thu Dec 4 01:30:03 EST 2008


Ruslan Zakirov wrote:
> my $ccs = RT::CCs->new($RT::SuperUser);
> my $alias = $ccs->Join( FIELD1 => 'id', TABLE2 => 'CE', FIELD2 =>
> 'Contact', TYPE => 'LEFT' );
> $ccs->Limit( ALIAS => $alias, FIELD => 'Email', VALUE => 'some' );
> while ( my $cc = $ccs->Next ) {
> }
>
Thanks a lot, Ruslan!

> I think you know that left join here is redundant and will be
> downgraded to a regular join.
> 
Thanks for this point :)

-- 
Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

   Meet us at Internet Telephony East
   February 2-4, 2009 - Booth 826
   Miami Beach Convention Center


More information about the Rt-devel mailing list