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

Method getFormattedQuery

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

* Returns raw interpolated query string with all the parameters inlined.

()

Source from the content-addressed store, hash-verified

2337 * Returns raw interpolated query string with all the parameters inlined.
2338 */
2339 getFormattedQuery(): string {
2340 const query = this.toQuery();
2341 return this.platform.formatQuery(query.sql, query.params);
2342 }
2343
2344 /**
2345 * @internal

Calls 2

toQueryMethod · 0.95
formatQueryMethod · 0.80

Tested by

no test coverage detected