Open Journal Systems
3.3.0
|
Public Member Functions | |
getCount () | |
getIds () | |
getQuery () | |
Definition at line 19 of file EntityQueryBuilderInterface.inc.php.
PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface::getCount | ( | ) |
Get a count of the number of rows that match the select conditions configured in this query builder.
Implemented in PKP\Services\QueryBuilders\PKPUserQueryBuilder, PKP\Services\QueryBuilders\PKPSubmissionQueryBuilder, APP\Services\QueryBuilders\IssueQueryBuilder, PKP\Services\QueryBuilders\PKPEmailTemplateQueryBuilder, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder, PKP\Services\QueryBuilders\PKPContextQueryBuilder, PKP\Services\QueryBuilders\PKPPublicationQueryBuilder, PKP\Services\QueryBuilders\PKPAnnouncementQueryBuilder, and APP\Services\QueryBuilders\GalleyQueryBuilder.
PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface::getIds | ( | ) |
Get a list of ids that match the select conditions configured in this query builder.
Implemented in PKP\Services\QueryBuilders\PKPUserQueryBuilder, PKP\Services\QueryBuilders\PKPSubmissionQueryBuilder, APP\Services\QueryBuilders\IssueQueryBuilder, PKP\Services\QueryBuilders\PKPEmailTemplateQueryBuilder, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder, PKP\Services\QueryBuilders\PKPContextQueryBuilder, PKP\Services\QueryBuilders\PKPPublicationQueryBuilder, PKP\Services\QueryBuilders\PKPAnnouncementQueryBuilder, and APP\Services\QueryBuilders\GalleyQueryBuilder.
PKP\Services\QueryBuilders\Interfaces\EntityQueryBuilderInterface::getQuery | ( | ) |
Get a query builder with the applied select, where and join clauses based on builder's configuration
This returns an instance of Laravel's query builder.
Call the get
method on a query builder to return an array of matching rows.
Or use the query builder to retrieve objects from a DAO. This example retrieves the first 20 matching Publications.
Laravel's other query builder methods, such as first
and pluck
, can also be used.
See: https://laravel.com/docs/5.5/queries
Implemented in PKP\Services\QueryBuilders\PKPUserQueryBuilder, PKP\Services\QueryBuilders\PKPSubmissionQueryBuilder, APP\Services\QueryBuilders\IssueQueryBuilder, PKP\Services\QueryBuilders\PKPEmailTemplateQueryBuilder, PKP\Services\QueryBuilders\PKPContextQueryBuilder, PKP\Services\QueryBuilders\PKPAuthorQueryBuilder, PKP\Services\QueryBuilders\PKPAnnouncementQueryBuilder, and APP\Services\QueryBuilders\GalleyQueryBuilder.
Referenced by PKP\Services\QueryBuilders\PKPPublicationQueryBuilder\getDateBoundaries().