sora9z3099
@sora9z3099
Reviews Written
2
Average Rating
5.0
Posts
Q&A
populate ๋ฌธ์ (cats schema ์ค๋ฅ) ํด๊ฒฐ๋ฒ
๋์์ด ๋์์ต๋๋ค ๐๐๐
- 14
- 6
- 996
Q&A
์ค์ผ๋ง์์ ๋ฆฌ๋์จ๋ฆฌ๋ก ๋ฒ์ธ์ผ ์์ฑํ ๋ ๋ฌธ์๊ฐ์์ต๋๋ค.
https://mongoosejs.com/docs/tutorials/virtuals.html ๊ฐ์ฌํฉ๋๋ค~
- 0
- 4
- 530
Q&A
auth.service.ts์์ ์ค๋ฅ๊ฐ ๋ฉ๋๋ค
์ ๋ ์ด๋ ๊ฒ ํ๋ ๋๋ค์ 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;
- 0
- 2
- 938




