Dernière activité 1729145028

Révision 095f1937ea5fec0a05f92db843017c24707969c2

TypeORM-readme-23.ts Brut
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)