C
C#12mo ago
Snitrxm

✅ Typeorm doesnt get the name from entity

I need that typeorm get the
name: "noInfoMILeadsToDistribute"
name: "noInfoMILeadsToDistribute"
inside Entity, but it wants to get the class name then it give me an error (of course)
No description
4 Replies
Snitrxm
Snitrxm12mo ago
Error: RepositoryNotFoundError: No repository for "NoInfoMundoInvestLeadModel" was found. Looks like this entity is not registered in current "default" connection?
Snitrxm
Snitrxm12mo ago
GitHub
Can I give @Entity() a name to match existing table in the database...
Issue type: [x] question [ ] bug report [ ] feature request [ ] documentation issue Database system/driver: [ ] cordova [ ] mongodb [x] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] sqlite ...
Angius
Angius12mo ago
$js
Want results from more Discord servers?
Add your server