MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / getResult

Method getResult

packages/sql/src/query/QueryBuilder.ts:2590–2592  ·  view source on GitHub ↗

* Alias for `qb.getResultList()`

()

Source from the content-addressed store, hash-verified

2588 * Alias for `qb.getResultList()`
2589 */
2590 async getResult(): Promise<Loaded<Entity, Hint, Fields>[]> {
2591 return this.getResultList();
2592 }
2593
2594 /**
2595 * Executes the query, returning array of results mapped to entity instances.

Calls 1

getResultListMethod · 0.95

Tested by 1

getAllWithStudentsMethod · 0.64