0180 Prisma ๐
PROJECT
File | description | status |
---|---|---|
Prisma Pagination | - | ai response |
prisma db push๋ฅผ ์งํํ ์งํ ์๋์ผ๋ก 2dsphere ์ธ๋ฑ์ค๋ฅผ ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ | To properly define a 2dsphere index in your schema.prisma file for MongoDB, Prisma currently does not support geospatial indexes directly through the @index or @@index attributes. However, you can manually create the index using raw database commands after migrating your Prisma schema. | ai response |
Prisma๋ฅผ ๋ฒ๋ฆฌ๊ณ TypeORM ๋๋ Drizzle ๊ฐ์ ORM์ผ๋ก ๊ฐ์ํ์ผ ํ ์ด์ ๊ฐ ์๊ฒผ๋ค. | - | ์์ฑ์ค |
multiple update using prisma client (feat. mongodb) | ์ ํฉ์ฑ์ ์ํ๋ฉด $transaction์, ์ผ๊ด์ ์ผ๋ก ๋ณ๊ฒฝํ๊ณ ์ถ์ผ๋ฉด updateMany๋ฅผ, ์ฑ๋ฅ์ด ์ค์ํ๋ค๋ฉด $runCommandRaw๋ฅผ ์ฌ์ฉ | ai response |
relation-queries {prisma} | - | ์์ฑ์ค |
prisma X mongodb | - | ์์ฑ์ค |
์ฝ๋ํฉํ ๋ฆฌ์ ๋ฐฑ์๋ ์์นด๋ฐ๋ฏธ - ํ ๋ฒ์ ๋๋ด๋ NestJS ํจํค์ง - ๊ธฐ์ด๋ถํฐ MSA๊น์ง in Fast campus | - | ์์ฑ์๋ฃ |
0181 prisma orm ๋ฆฌ์์น | ์ด ๋ฌธ์๋ ํ๋ฆฌ์ฆ๋ง ORM์ ๋ณธ๊ฒฉ์ ์ผ๋ก ์ฌ์ฉํ๊ธฐ์ ์์ ์ธ์๊ณผ TypeORM๊ณผ์ ์ฐจ์ด์ ์ ์ดํดํ๊ธฐ ์ํด ์์ฑ๋์์ต๋๋ค. | - |
Obsidian Relation Renovation | Local Graph๋ฅผ ์ ํ์ฉํ๊ธฐ ์ํด์ ํต์ ๋ ๋คํธ์ํฌ๊ฐ ํ์ํด ๋ณด์ธ๋ค. | ์์ฑ์ค |
AREA
File | description | status |
---|---|---|
how to join and map using prisma client | - | ์์ฑ์๋ฃ |
RESOURCE
File | description | status |
---|---|---|
prisma db push๋ฅผ ์งํํ ์งํ ์๋์ผ๋ก 2dsphere ์ธ๋ฑ์ค๋ฅผ ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ | To properly define a 2dsphere index in your schema.prisma file for MongoDB, Prisma currently does not support geospatial indexes directly through the @index or @@index attributes. However, you can manually create the index using raw database commands after migrating your Prisma schema. | ai response |
prisma generated type - Input and UncheckedInput | UncheckedInput ํ์ ์ ์ฐ๊ดํ๋๋ฅผ ID๋ก ๊ด๋ฆฌํ์ง๋ง CheckedInput ํ์ ์ Nesting์ด ๋๋ค. | scrapped |
prisma push schema of collections or tables into remote DBMS | - | - |
how to join and map using prisma client | - | ์์ฑ์๋ฃ |
multiple update using prisma client (feat. mongodb) | ์ ํฉ์ฑ์ ์ํ๋ฉด $transaction์, ์ผ๊ด์ ์ผ๋ก ๋ณ๊ฒฝํ๊ณ ์ถ์ผ๋ฉด updateMany๋ฅผ, ์ฑ๋ฅ์ด ์ค์ํ๋ค๋ฉด $runCommandRaw๋ฅผ ์ฌ์ฉ | ai response |
relation-queries {prisma} | - | ์์ฑ์ค |
prisma X mongodb | - | ์์ฑ์ค |
0181 prisma orm ๋ฆฌ์์น | ์ด ๋ฌธ์๋ ํ๋ฆฌ์ฆ๋ง ORM์ ๋ณธ๊ฒฉ์ ์ผ๋ก ์ฌ์ฉํ๊ธฐ์ ์์ ์ธ์๊ณผ TypeORM๊ณผ์ ์ฐจ์ด์ ์ ์ดํดํ๊ธฐ ์ํด ์์ฑ๋์์ต๋๋ค. | - |
ARCHIVE
File | description | status |
---|---|---|
prisma generated type - Input and UncheckedInput | UncheckedInput ํ์ ์ ์ฐ๊ดํ๋๋ฅผ ID๋ก ๊ด๋ฆฌํ์ง๋ง CheckedInput ํ์ ์ Nesting์ด ๋๋ค. | scrapped |
prisma push schema of collections or tables into remote DBMS | - | - |
PrismaPromise | Prisma์ ๋ชจ๋ ์ฟผ๋ฆฌ๊ฒฐ๊ณผ๋ await ๋๋ .then() ์ ํ๊ธฐ ์ ๊น์ง ์คํ๋์ง ์๋๋ค |
- |
Docs Interested
ํฅ๋ฏธ๋ก์ด ๋ฌธ์๋ค ์คํฌ๋ฉ์ฉ ๊ณต๊ฐ์ ๋๋ค. ์ถํ ์ฃผ๊ธฐ์ ์ผ๋ก ๋ฐฉ๋ฌธํ์ฌ ์ฝ๊ณ ์ด ์คํฌ๋ฉ ๊ฒฐ๊ณผ๋ฅผ ๋ฌธ์ํ ํ์ฌ ์ด ํ์ด์ง์ ๋งํฌํ ์์ ์ ๋๋ค.
๋์ ๊ฑฐ๋ฆผ
prisma๋ฅผ ์ง์ ์ฌ์ฉํด๋ณด๋ฉฐ ์๊ฒ ๋ ์๊ฐ์ ์ธ ์ธ์ฌ์ดํธ๋ฅผ ๋ชจ์๋ก๋๋ค. ๋ฌธ์๊ฐ ์ฑ์ํด์ง๊ธฐ ์ํด ํ์ํ ์์คํ ๋ฆฌ์์ค๋ค์ ๋๋ค.
- One to One Relationship์
is: {}
๋ฅผ ์ฌ์ฉํ๋ค. One to Many Relationship์some: {}
๋ฅผ ์ฌ์ฉํ๋ค.equals: {}
๋ฌธ๋ฒ์ ๋ฆด๋ ์ด์ ์์ ์ฌ์ฉํ์ง ์๋๋ค. equals๋ ๋ณตํฉํ์ ๋งค์น์ ํ์ฉ๋๋ค.