Zuletzt aktiv 1729145028

TypeORM-readme-23.ts Orginalformat
1import { Photo } from "./entity/Photo"
2import { AppDataSource } from "./index"
3
4const savedPhotos = await AppDataSource.manager.find(Photo)
5console.log("All photos from the db: ", savedPhotos)