Q&A
populate 문제(cats schema 오류) 해결법
도움이 되었습니다 👍 👍 👍
- Likes
- 14
- Comments
- 6
- Viewcount
- 1070
Q&A
도움이 되었습니다 👍 👍 👍
Q&A
https://mongoosejs.com/docs/tutorials/virtuals.html 감사합니다~
Q&A
저는 이렇게 하니 되네요 const user = await this.userRepository.findOne({ where: { username } }); export interface FindOneOptions { /** * Adds a comment with the supplied string in the generated query. This is * helpful for debugging purposes, such as finding a specific query in the * database server's logs, or for categorization using an APM product. */ comment?: string; /** * Specifies what columns should be retrieved. */ select?: FindOptionsSelect | FindOptionsSelectByString ; /** * Simple condition that should be applied to match entities. */ where?: FindOptionsWhere [] | FindOptionsWhere ;