PHP 클래스 yii\elasticsearch\ActiveDataProvider
It allows to fetch not only rows and total rows count, but full query results including aggregations and so on.
Note: this data provider fetches result models and total count using single ElasticSearch query, so results total
count will be fetched after pagination limit applying, which eliminates ability to verify if requested page number
actually exist. Data provider disables [[yii\data\Pagination::validatePage]] automatically because of this.
파일 보기
프로젝트 열기: yiisoft/yii2-elasticsearch
공개 메소드들
보호된 메소드들
메소드 상세
Returns results of the specified aggregation.
prepareTotalCount()
보호된 메소드