标签: php laravel laravel-4
JOIN
public function relations() { return array( 'posts'=>array(self::HAS_MANY, 'Post', 'user_id', 'together'=>false), ); }
如何在laravel中使用此方法?