Son aktif 1729145028

knox revised this gist 1729145028. Go to revision

1 file changed, 5 insertions

TypeORM-readme-23.ts(file created)

@@ -0,0 +1,5 @@
1 + import { Photo } from "./entity/Photo"
2 + import { AppDataSource } from "./index"
3 +
4 + const savedPhotos = await AppDataSource.manager.find(Photo)
5 + console.log("All photos from the db: ", savedPhotos)
Newer Older