Final Class Yiisoft\ActiveRecord\Internal\JunctionRowsFinder
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| find() | Yiisoft\ |
Method Details
| public static array[] find ( Yiisoft\ | ||
| $query | Yiisoft\ |
|
| $models | Yiisoft\ |
Either array of AR instances or arrays. |
public static function find(ActiveQueryInterface $query, array $models): array
{
ModelRelationFilter::apply($query, $models);
/** @var array[] */
return $query->asArray()->all();
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.