https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • p

    prisma chobo

    04/24/2022, 10:18 PM
    can anyone please explain what the differences b/w
    @@index([tags])
    @@index([level])
    vs
    > @@index([tags, level])
    ??????
    n
    • 2
    • 2
  • o

    Oscar Mejia

    04/25/2022, 12:58 AM
    prisma intellisense seems to not work when using next.js
    n
    • 2
    • 1
  • d

    Dev__

    04/25/2022, 9:27 AM
    I am getting an error
    TypeError: value.map is not a function
    when I try to use
    updateMany
    within an
    update
    Copy code
    prisma.quotation.update({
      where: ...,
      data: {
        ...,
        quotationLines: {
          updateMany: {
            data: items.map(...)
          },
          where: {
            id: ...
          }
        }
      }
    })
    n
    • 2
    • 1
  • u

    user

    04/25/2022, 10:14 AM
    πŸ‘‰ Prisma & MongoDB Live Office Hours --

    https://www.youtube.com/watch?v=fwQixwz_AIsβ–Ύ

    -- Be a part of the live office hours with any questions you have about getting started with Prisma and MongoDB, diving into the nitty-gritty details, or anything in between.
  • z

    Zurab Magomadov

    04/25/2022, 10:32 AM
    Hello Does anyone here use prisma with singlestore(formerly memsql)?
    n
    • 2
    • 1
  • y

    y0on2q

    04/25/2022, 1:29 PM
    Hello πŸ™‚ I'm implement functional-nestjs repository ! now, 2 contents in repository, first spirnt goal is to make 6 examples ! Comments on the theme are always welcome and Thx for Star ⭐ https://github.com/ltnscp9028/functional-nestjs
    πŸ™Œ 2
    πŸ’š 2
    πŸ’― 2
  • u

    user

    04/25/2022, 4:45 PM
    πŸ‘‰ Build A Fullstack App with Remix, Prisma & MongoDB: Project Setup --

    https://www.youtube.com/watch?v=4tXGRe5CDDgβ–Ύ

    -- In this video, you'll set up a Remix project, configure TailwindCSS within that project, set up a database on MongoDB Atlas, and finally initialize Prisma in your Remix application and connect it to your MongoDB database. β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ“š Learn more about Prisma β€’ Website: https://www.prisma.io β€’ Docs: https://www.prisma.io/docs β€’ Quickstart: https://pris.ly/qstart β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” ❓ Get help with Prisma issues β€’ Slack: https://slack.prisma.io β€’ GitHub: https://www.github.com/prisma/prisma/discussions β€’ Stackoverflow: https://stackoverflow.com/questions/tagged/prisma β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ’¬ Follow Prisma on social media β€’ Twitter: https://twitter.com/prisma β€’ Instagram: https://www.instagram.com/prisma.io/ β€’ TikTok: https://www.tiktok.com/@prismadata β€’ Facebook: https://www.facebook.com/prisma.io β€’ LinkedIn: https://www.linkedin.com/company/prisma-io β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” βœ… Subscribe to Prisma's YouTube channel https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmation=1
    prisma cool 2
  • u

    user

    04/25/2022, 5:10 PM
    Build A Fullstack App with Remix, Prisma & MongoDB: Project Setup 9 min read Welcome to the first article in this series, where you will take a look at how to build a full-stack application from the ground up using MongoDB, Prisma, and Remix! In this article, you will be setting up your project, the MongoDB instance, Prisma, and begin modeling out some of our data for the next section of this series.
    πŸ’― 1
    prisma rainbow 2
  • m

    Mo El

    04/25/2022, 7:40 PM
    prisma hasnt released in 20 days
    n
    • 2
    • 1
  • j

    Josep Alaziz

    04/25/2022, 10:37 PM
    πŸ‘‹ Hello, team!
    πŸ‘‹ 2
    n
    • 2
    • 1
  • d

    dauniusha

    04/26/2022, 6:31 AM
    Hey guys, prisma have 'AS' support?
    n
    • 2
    • 3
  • k

    Kasir Barati

    04/26/2022, 6:50 AM
    Any solution? The first time it suggest me to use
    native
    and second time
    linux-mucl
    , and now after I add both it says to add
    linux-mucl
    again.
    βœ… 1
    • 1
    • 1
  • k

    Kasir Barati

    04/26/2022, 6:58 AM
    Any idea? https://github.com/prisma/prisma/issues/1844#issuecomment-1069001512
    n
    • 2
    • 1
  • u

    user

    04/26/2022, 8:13 AM
    πŸ‘‰ Build A Fullstack App with Remix, Prisma & MongoDB: Authentication --

    https://www.youtube.com/watch?v=vR33ZRJekHkβ–Ύ

    -- In this video, you'll set up authentication for your application. By the end of the video you will have fully implemented session-based authentication for your application and built the sign in and sign up forms. β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ‘‰ More videos from this series β€’ Previous: Build A Fullstack App with Remix, Prisma & MongoDB: Project Setup |

    https://youtu.be/4tXGRe5CDDgβ–Ύ

    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ“š Learn more about Prisma β€’ Website: https://www.prisma.io β€’ Docs: https://www.prisma.io/docs β€’ Quickstart: https://pris.ly/qstart β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” ❓ Get help with Prisma issues β€’ Slack: https://slack.prisma.io β€’ GitHub: https://www.github.com/prisma/prisma/discussions β€’ Stackoverflow: https://stackoverflow.com/questions/tagged/prisma β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ’¬ Follow Prisma on social media β€’ Twitter: https://twitter.com/prisma β€’ Instagram: https://www.instagram.com/prisma.io/ β€’ TikTok: https://www.tiktok.com/@prismadata β€’ Facebook: https://www.facebook.com/prisma.io β€’ LinkedIn: https://www.linkedin.com/company/prisma-io β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” πŸ” Professional captions for your technical videos Prisma sponsors human-reviewed, professional closed captions for ANY video valuable to our community (for example, about: Node.js, TypeScript & Type Safety, Prisma, databases, etc). Get your FREE captions here: https://pris.ly/closedcaptions β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” βœ… Subscribe to Prisma's YouTube channel https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmation=1
    πŸ™Œ 3
  • u

    user

    04/26/2022, 8:30 AM
    Build A Fullstack App with Remix, Prisma & MongoDB: Authentication 15 min read Welcome to the second article of this series where you are learning how to build a full-stack application from the ground up using MongoDB, Prisma, and Remix! In this part, you will set up session-based authentication for your Remix application.
    πŸ™Œ 2
  • m

    Mykyta Machekhin

    04/26/2022, 8:47 AM
    Hello, guys, I found unexpected behaviour of Prisma, when I select count of nested entities. I attach request and error. I will be grateful for any ideas
    j
    n
    • 3
    • 14
  • l

    Luis Kuper

    04/26/2022, 12:22 PM
    Hey πŸ‘‹ Is there an existing feature request / discussion on supporting Postgres Geometric Functions and Operators?
    n
    • 2
    • 1
  • n

    Natalia

    04/26/2022, 4:59 PM
    We are going live in 1 minute! fast parrot MongoDB: The Definitive Guide book to be won in the raffle.

    https://www.youtube.com/watch?v=JbGfNaTTMHEβ–Ύ

    prisma rainbow 3
    mongodb 2
    prisma cool 1
  • a

    Alex Okros

    04/26/2022, 6:10 PM
    Hi, does anyone know of an issue where prisma can’t load
    Node-API
    from the RHEL libquery engine on AWS EC2? I’m trying to run prisma on an AWS Centos 7 environment that’s been working for a while, but about two weeks ago, I’ve been getting this error whenever I try running it on my environment
    Copy code
    Error: Unable to load Node-API Library from /snapshot/project/node_modules/.prisma/client/libquery_engine-rhel-openssl-1.0.x.so.node, Library may be corrupt
    I’ve been able to confirm that it works on a non-AWS RHEL environment, so I’d assume it has to do with some kind of recent update? The only problem is I’m not quite sure what might have caused it.
    n
    • 2
    • 3
  • r

    Rob Hoskins

    04/26/2022, 7:53 PM
    probably an uber noob question but I have an existing pg db and when I run
    npx prisma migrate dev --name init
    it tries to add fields to one of the tables and warns all data will be lost, I don't want that... What am I missing? many TIA! In my schema I'm db-pulling to get the two tables into prisma.schema and then adding a third new one.
    [+] Added tables
    - job
    - job_schedule
    `[*] Changed the
    job_schedule
    table`
    [+] Added index on columns (job_id)
    [+] Added foreign key on columns (job_id)
    √ We need to reset the PostgreSQL database "My-Project" at "XX.XXX.XXX.XX:5432".
    Do you want to continue? All data will be lost. ... no
    a
    n
    • 3
    • 9
  • d

    Dennis P

    04/26/2022, 9:30 PM
    Copy code
    prisma.product.findFirst().comments()
  • d

    Dennis P

    04/26/2022, 9:31 PM
    is it normal for prisma to execute 2 queries instead of a join in this case?
    n
    p
    • 3
    • 4
  • d

    Dennis P

    04/26/2022, 9:38 PM
    prisma.product.findFirst({include: {comments: true}}) also generates this problem
    n
    • 2
    • 1
  • r

    Ricardo Seromenho

    04/26/2022, 9:38 PM
    @Dennis P Yes. It's how it is designed. Similar subject here: https://prisma.slack.com/archives/CA491RJH0/p1650467459626829
  • w

    William Chantry

    04/26/2022, 10:41 PM
    could prisma be running a
    SET NAMES 'UTF8';
    query?
    n
    • 2
    • 2
  • j

    Jonas Rothmann

    04/26/2022, 11:13 PM
    If i am making 5 queries to 5 different models, is there any performance difference between resolving them in Promise.all and prisma.$transaction? Since the dataloader should do the same job?
    n
    • 2
    • 1
  • r

    radisa

    04/27/2022, 5:18 AM
    Hi, wanna ask a question here. I have this schema
    Copy code
    model User {
      walletAddress String   @id
      twitterHandle String?
      website       String?
      bio           String?
      username      String?
      signedAt      DateTime @default(now())
      logs          Log[]
    
      @@map("users")
    }
    
    model Log {
      id          Int      @id @default(autoincrement())
      from        User?    @relation("fromAddressRelation", fields: [fromAddress], references: [walletAddress])
      fromAddress String?
      to          User?    @relation("toAddressRelation", fields: [toAddress], references: [walletAddress])
      toAddress   String?
      createdAt   DateTime @default(now())
    
      @@map("logs")
    }
    The
    from
    and
    to
    property in the
    Log
    model gives me an error says that "Error validating field
    from
    in model `Log`: The relation field
    from
    on Model
    Log
    is missing an opposite relation field on the model
    User
    . Either run
    prisma format
    or add it manually". I want to
    User
    model only has one
    Log
    relation. How do I fix this? Thank you
    n
    • 2
    • 3
  • d

    Dominik JaΕ‘ek

    04/27/2022, 6:23 AM
    Hi, I am using Prisma + Nesjts and Postgres (PostgresSQL 14 + pgAdmin). Every time I launch my backend application, database is not responding for the first time. I always need to go to pgAdmin or launch
    npx prisma studio
    to interact with the database to make it work again. It seems like db is sleeping or is in idle state. Is there any way to set my local postgres db would be always reachable? Thanks πŸ’Ÿ
    n
    • 2
    • 7
  • a

    alexwasik

    04/27/2022, 12:48 PM
    I've only found one article on how to run Prisma Studio on a production environment and I'm not able to get that to work. Does anyone else have a solution for running Prisma Studio in a production environment. I am using Render.com with a SQLite DB
    n
    b
    • 3
    • 9
  • h

    Hakan AngΔ±n

    04/27/2022, 3:44 PM
    Hello friends. Can you help me? I created a request for Turkish language support in MongoDB. Please confirm. There is a high interest in Nodejs and MongoDB in our country. However, we also need Turkish language support in order to make its use more widespread. Unfortunately we are not good at learning different languages ​​:( https://feedback.mongodb.com/forums/928699-ui/suggestions/45085567-turkish-language-support-for-mongodb-website
    n
    r
    • 3
    • 5
1...567568569...637Latest