* @internal
(
populate: PopulateOptions<Entity>[],
populateWhere?: ObjectQuery<Entity> | PopulateHint | `${PopulateHint}`,
populateFilter?: ObjectQuery<Entity> | PopulateHint | `${PopulateHint}`,
)
| 1966 | * @internal |
| 1967 | */ |
| 1968 | populate( |
| 1969 | populate: PopulateOptions<Entity>[], |
| 1970 | populateWhere?: ObjectQuery<Entity> | PopulateHint | `${PopulateHint}`, |
| 1971 | populateFilter?: ObjectQuery<Entity> | PopulateHint | `${PopulateHint}`, |
| 1972 | ): this { |
| 1973 | this.ensureNotFinalized(); |
| 1974 | this.#state.populate = populate; |
| 1975 | this.#state.populateWhere = populateWhere; |
| 1976 | this.#state.populateFilter = populateFilter; |
| 1977 | |
| 1978 | return this; |
| 1979 | } |
| 1980 | |
| 1981 | /** |
| 1982 | * Sets a LIMIT clause to restrict the number of results. |
nothing calls this directly
no test coverage detected