Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ MikroORM, defineEntity, p, Opt } from
'@mikro-orm/sqlite'
;
2
3
// Define schemas without classes - auto-generated classes will be created
4
const
AuthorSchema = defineEntity({
Callers
nothing calls this directly
Calls
15
defineEntity
Function · 0.85
test
Function · 0.85
setClass
Method · 0.80
primary
Method · 0.65
mappedBy
Method · 0.65
init
Method · 0.65
create
Method · 0.65
close
Method · 0.65
clear
Method · 0.65
find
Method · 0.65
getAll
Method · 0.65
getMetadata
Method · 0.65
Tested by
no test coverage detected