* Executes the query, returning both array of results and total count query (without offset and limit).
()
| 2691 | * Executes the query, returning both array of results and total count query (without offset and limit). |
| 2692 | */ |
| 2693 | async getResultAndCount(): Promise<[Loaded<Entity, Hint, Fields>[], number]> { |
| 2694 | return [await this.clone().getResultList(), await this.clone().getCount()]; |
| 2695 | } |
| 2696 | |
| 2697 | /** |
| 2698 | * Returns native query builder instance with sub-query aliased with given alias. |
no test coverage detected