Utoljára aktív 1729145981

Revízió c3709485534d50f55b92fefe874382e98b79b5cb

TypeORM-readme-35.ts Eredeti
1import { Photo } from "./entity/Photo"
2import { PhotoMetadata } from "./entity/PhotoMetadata"
3import { AppDataSource } from "./index"
4
5const photoRepository = AppDataSource.getRepository(Photo)
6const photos = await photoRepository.find({
7 relations: {
8 metadata: true,
9 },
10})