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

Function makeWhere

tests/features/dataloader/dataloader.test.ts:882–882  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

880
881 test('Collection.loadCount with dataloader and where', async () => {
882 const makeWhere = () => ({ title: ['One', 'Two', 'Six'] });
883
884 const em = orm.em.fork();
885 const authors = await em.find(Author, {}, { first: 3, orderBy: { id: QueryOrder.ASC } });

Callers 1

dataloader.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected