TP5 does not support remote one-to-many preloading

Can the remote one-to-many association provided by

TP5 be performed in the association preload? I"ve tried. Why not?

article article table field articleid..
article_typetag tag table field tagid.
article_tagvalue article tag table field articleid tagid (intermediate table)

Article model definition associated fields

 public function typetagvalue(){
        //hasManyThrough("","","","","",[""]);
        return $this->hasManyThrough("article_typetag","article_tagvalue","articleid","tagid");
    }

preload association

 $list=Article::with("typetagvalue")
            ->where("delete",0)->where("isshow",1)->limit(0,10)->select();
        print_r(collection($list)->toArray());exit;

it doesn"t work. I can"t find out the associated data.

Mar.15,2021

have you solved it, brother?

Menu