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

    Manthan Mallikarjun

    04/11/2021, 9:14 AM
    https://github.com/getsentry/sentry-javascript/issues/3143 Would be nice if the Prisma team could work with Sentry. APM for prisma would be huge
    r
    • 2
    • 2
  • m

    manuel

    04/11/2021, 9:39 AM
    Hi! has anyone encountered this error:
    (node:62687) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added to [process]. Use emitter.setMaxListeners() to increase limit
  • d

    Dale Watson

    04/11/2021, 10:40 PM
    hello, i'm trying to convince my team to use prisma (ORM) cause i dont understand basic DB, but what is the actual PRO and CONS using ORM vs Raw DB query ?
    r
    • 2
    • 1
  • k

    Kishan Das

    04/12/2021, 6:34 AM
    Hello All, How can i assign a float type with 2 precision value in prisma schema models?
    r
    • 2
    • 5
  • m

    Max Torre Schau

    04/12/2021, 6:53 AM
    Hello! I have a quick question I was hoping some of you might know the answer to. I have a database with an Employee-entity. There is also a settings-entity in the database. Is there any way to default create a new Settings-row when I create a new Employee in the schema.prisma file?
    r
    • 2
    • 3
  • c

    Cristian Salamea

    04/12/2021, 5:24 PM
    Hi!, I am working with legacy version, I am adding a new relation one-to-one table with existing rows, so I want to know how to set default value? I c read
    @default
    but I cant find if its possible define my own function to read and return default value
    r
    • 2
    • 1
  • j

    José da Mata

    04/13/2021, 2:45 PM
    Hello!
    👋 1
  • j

    José da Mata

    04/13/2021, 2:46 PM
    I wonder if it is possible to do pagination in deeply nested relations
    r
    • 2
    • 2
  • d

    Dallas Slieker

    04/13/2021, 3:43 PM
    Hello. Are these docs current? https://www.prisma.io/docs/concepts/components/prisma-client/advanced-type-safety/operating-against-partial-structures-of-model-types I am getting this:
    r
    • 2
    • 6
  • m

    Muhammad Adeel

    04/13/2021, 5:12 PM
    when prisma will support mongodb?
  • p

    Philipp Rajah Moura Srivastava

    04/13/2021, 10:55 PM
    Is it possible to do pagination in a nested list of objects in prisma1? I have been going through the docs but haven’t had any luck
    i
    • 2
    • 6
  • n

    Natalia

    04/14/2021, 9:40 AM
    Hello everyone! 😃 We're hosting our GraphQL Berlin Meetup today, 6:00 PM CET. 🌍 We have four wonderful speakers for this event:  • Matheus Cardoso: "The Case For Lighter GraphQL Client Libraries", • Phil Plückthun will give us an introduction to urql, • Aditya Pratap Singh and Mariano Carballal will tell us about scaling GraphQL at Zalando. During the event you can participate in a quiz to win a Bedrock license. 🎁 

    You can set a reminder on YouTube here▾

     or check out the event on Meetup for more information. Hoping to see you there! 🤗
    🦜 2
    💯 3
    prisma rainbow 2
  • n

    Natalia

    04/14/2021, 3:56 PM
    We are live in 5 minutes! fast parrotgraphql🤗

    https://www.youtube.com/watch?v=1QHBjeJW5xg▾

  • j

    Jamie

    04/14/2021, 6:18 PM
    Hi all, what's the reason a the Post table doesn't have the draft inserted after doing a ctx.create?
  • j

    Jamie

    04/14/2021, 6:18 PM
    The table is empty despite the gql query working and doing npx prisma migrate dev
    r
    • 2
    • 1
  • c

    Cristian Salamea

    04/14/2021, 9:18 PM
    Hi, I ran a migration, and this take affect on DB but it does not update
    schema.gql
  • c

    Cristian Salamea

    04/14/2021, 9:18 PM
    do I miss something?
  • c

    Cristian Salamea

    04/14/2021, 9:18 PM
    I am using v2.5.1
    r
    • 2
    • 1
  • n

    nikunj chaudhari

    04/15/2021, 4:33 AM
    model user { question Question[] } i want question to be null. but in future it will be list of question
    r
    • 2
    • 2
  • m

    Manish Kumar

    04/15/2021, 5:48 AM
    I m totally new to graphql and prisma.. How can I setup prisma with graphql for db connectivitly ?? some tutorial say you need docker for prisma setup why is that??
    r
    • 2
    • 1
  • d

    Daniel Norman

    04/15/2021, 2:18 PM
    In less than one hour, @ryan and I will go on a live stream to discuss the latest @Prisma v2.21.0 release and other community news! 📽️ alphabet yellow question Have a question you always wanted to ask about Prisma? join us and bring it to the Q&A session!

    https://youtu.be/kGBBS0MvNC0▾

    fast parrot 2
    prisma rainbow 2
    💯 2
  • k

    kitze

    04/15/2021, 2:37 PM
    How can I point to a prisma 1 database + namespace? I want to introspect it with prisma 2 and generate a client, but I don't know the connection URL
    r
    • 2
    • 1
  • n

    Natalia

    04/15/2021, 3:50 PM
    🎉 Today we are hosting our friends from BudapestJS with the new edition of their Meetup! 🇭🇺 ⭐ ️Dániel Ruthner: "One stack to rule them all", ⭐️ György Kovács: "Knext level querying: Knex.js with some Knexstars". You can tune in in less than 10 minutes here:

    https://www.youtube.com/watch?v=1JJ1w4i5jAw▾

    fast parrot
    💯 4
    prisma green 3
    fast parrot 3
  • p

    Philipp Rajah Moura Srivastava

    04/15/2021, 4:05 PM
    Any update on when mongoDB support comes out for prisma2?
  • p

    Philipp Rajah Moura Srivastava

    04/15/2021, 4:10 PM
    This is more of a docker related question but I’m having trouble getting docker to play well with a firewall. I’m a docker noob so I was wondering if anyone knew whether or not the docker-compose file given by prisma1 used volumes external to containers so that restarting the docker daemon doesn’t cause data loss.
  • r

    Rintsi

    04/16/2021, 6:32 AM
    Documentation for PostgreSQL native type mappings says "Unsupported" for cidr. Can I still use it, though? (I'm fairly new to using Prisma, if you couldn't guess :D)e
    • 1
    • 1
  • t

    Timo

    04/16/2021, 7:12 AM
    What's the most efficient way to count dynamic Int? Let's say I have 3 emojis "thumbsup", "thumbsdown", "unicorn" and I want to count the amount of emojis. I could write it like this:
    Copy code
    thumbsup   Int      @default(0)
    thumbsdown Int      @default(0)
    unicorn    Int      @default(0)
    This would allow me to
    Copy code
    thumbsup: {increment: 1}
    But what if I want to increase emojis to 100 - I would have to add 100 of these fields. Is there an alternative? I could use a JSON field
    Copy code
    emojis Json
    but I read that JSON takes more space and there's currently no way to:
    emojis[emojiName]: {increment: 1}
    right?
  • t

    tej

    04/16/2021, 5:40 PM
    hiii
  • t

    tej

    04/16/2021, 5:41 PM
    is there any scope for a rust implementation for prisma?
  • t

    thdxr

    04/16/2021, 6:22 PM
    considering the core of prisma is in rust I'd imagine there's definitely hope for it 🙂
1...427428429...637Latest