Mjoin not work

Mjoin not work

FleiFlei Posts: 10Questions: 4Answers: 0
edited November 2016 in Editor

Hi.
I am using Mjoin in the Editor api and insert for some tables hardcodet joins.
$editor->leftJoin(
works great. Now i Need the mjoin

$editor->join(Mjoin::inst( 'xoffi.xoffi_calendar')
                ->aliasParentTable( 'xoffi.product_followup' )
                ->link( 'xoffi.xoffi_calendar.product_followup_id', 'xoffi.product_followup.id' )
            ->fields(
                    Field::inst( 'xoffi.xoffi_calendar.product_followup_id')
                )
            );

but there will be no other SQL generated. It Looks like the Mjoin doesnt work?
Any Idea?

Thanks

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    In what way does it not work? Are you getting any errors reported?

    Allan

This discussion has been closed.