MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / define-entity-setclass.sqlite.test.ts

File define-entity-setclass.sqlite.test.ts

tests/features/define-entity-setclass.sqlite.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { MikroORM, defineEntity, p, Opt } from '@mikro-orm/sqlite';
2
3// Define schemas without classes - auto-generated classes will be created
4const AuthorSchema = defineEntity({

Callers

nothing calls this directly

Calls 15

defineEntityFunction · 0.85
testFunction · 0.85
setClassMethod · 0.80
primaryMethod · 0.65
mappedByMethod · 0.65
initMethod · 0.65
createMethod · 0.65
closeMethod · 0.65
clearMethod · 0.65
findMethod · 0.65
getAllMethod · 0.65
getMetadataMethod · 0.65

Tested by

no test coverage detected