Ultima attività 1729145028

Revisione 095f1937ea5fec0a05f92db843017c24707969c2

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