MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / read-replicas.test.ts

File read-replicas.test.ts

tests/features/read-replicas.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { MikroORM } from '@mikro-orm/core';
2import { MySqlDriver, wrap } from '@mikro-orm/mysql';
3import { Author2, Book2, Publisher2 } from '../entities-sql/index.js';
4import { initORMMySql, mockLogger } from '../bootstrap.js';

Callers

nothing calls this directly

Calls 15

initORMMySqlFunction · 0.85
testFunction · 0.85
addMethod · 0.80
clearMethod · 0.65
setMethod · 0.65
dropDatabaseMethod · 0.65
closeMethod · 0.65
persistMethod · 0.65
findOneMethod · 0.65
executeMethod · 0.65
whereMethod · 0.65
selectMethod · 0.65

Tested by

no test coverage detected