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๋ฅผ ์ง์ ‘ ์‚ฌ์šฉํ•ด๋ณด๋ฉฐ ์•Œ๊ฒŒ ๋œ ์ˆœ๊ฐ„์ ์ธ ์ธ์‚ฌ์ดํŠธ๋ฅผ ๋ชจ์•„๋‘ก๋‹ˆ๋‹ค. ๋ฌธ์„œ๊ฐ€ ์„ฑ์ˆ™ํ•ด์ง€๊ธฐ ์œ„ํ•ด ํ•„์š”ํ•œ ์†Œ์ค‘ํ•œ ๋ฆฌ์†Œ์Šค๋“ค์ž…๋‹ˆ๋‹ค.