jeongbaebang
@jeongbaebang
Reviews Written
3
Average Rating
4.7
Posts
Q&A
deepFlat์ yield* ๋์ for...of ๋ฌธ์ผ๋ก ์์ฑ
L.deepFlat = function* f(iter) { for (const a of iter) { if (isIterable(a)) for (const c of f(a)) yield c; else yield a; }};
- 0
- 2
- 314
Q&A
Custom Repository ๋ถ๋ถ์์ ์๋ฌ๊ฐ ๋ฉ๋๋ค.
https://docs.nestjs.com/techniques/database#typeorm-integration WARNINGNote that we're using TypeORM v0.2, which isn't the latest version of TypeORM. The latter has substantial modifications and duplicate methods which are used on this page. You can read about typeorm@0.3.0 changes on their repository. ๊ณต์ ๋ฌธ์์ ๋ณด์๋ฉด ํ์ฌ typeorm v0.2 ๋ฒ์ ์ ์ ์งํ๋๊ฑธ๋ก ๋์์์ต๋๋ค. ์๋ง๋ ํ์ฌ typeorm ๋ฒ์ ์ด 0.2 ์ด์ ๋ฒ์ ์ ์ฌ์ฉํ์ ์ deprecated ์ฒ๋ฆฌ๊ฐ ๋๊ฒ๊ฐ์ต๋๋ค. $ npm install typeorm@0.2 ๋ช ๋ น์ด๋ฅผ ํตํด์ ๊ณต์๋ฌธ์์์ ๊ถ์ฅํ๋ ๋ฒ์ ์ผ๋ก ๋ณ๊ฒฝ ๋ถํ๋๋ฆฝ๋๋ค.
- 2
- 1
- 4.1K
Q&A
action์ด true์ผ๋ ์คํ๋๋๋ฐ false์์ ์ด๊ธฐํ๊ฐ ์๋์ใ
inactivate(); // ์ธ์๊ฐ ๋น ์ ธ์์ต๋๋ค. inactivate(currentItem.dataset.action); //์ด๋ฐํ์์ผ๋ก ์ธ์๋ฅผ ๋ฃ์ด์ฃผ์๋ฉด ๋ฉ๋๋ค.
- 0
- 2
- 304




