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

Function quote

packages/sql/src/AbstractSqlDriver.ts:3003–3003  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

3001 }
3002
3003 const quote = (s: string) => this.platform.quoteIdentifier(s);
3004 const aliasPrefix = new RegExp(`${quote(alias).replace(/[[\]]/g, '\\$&')}\\.`, 'g');
3005 const stripped = match[1].replace(aliasPrefix, '').trim();
3006

Callers 15

renderPartialIndexWhereFunction · 0.70
trigger.test.tsFile · 0.50
FormulaEmployeeClass · 0.50
BClass · 0.50
OrganizationClass · 0.50
UserClass · 0.50
User0Class · 0.50
User1Class · 0.50
GH7712.test.tsFile · 0.50

Calls 1

quoteIdentifierMethod · 0.45

Tested by

no test coverage detected