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

    y0on2q

    05/20/2021, 5:54 AM
    How to use Prisma2+nestjs with serverless(serverless-plugin-optimize) ? My project has error. I disabled serverless-plugin-optimize, It's work well. But it has exception (lambda max size). How I fix it?
    Copy code
    Syntax Error --------------------------------------------
     
      SyntaxError: Unexpected token (19382:12) while parsing /Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/.build/node_modules/@prisma/client/runtime/index.js while parsing file: /Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/.build/node_modules/@prisma/client/runtime/index.js
          at DestroyableTransform.end [as _flush] (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/insert-module-globals/index.js:114:21)
          at DestroyableTransform.prefinish (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_transform.js:138:10)
          at DestroyableTransform.emit (events.js:314:20)
          at DestroyableTransform.EventEmitter.emit (domain.js:483:12)
          at prefinish (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_writable.js:619:14)
          at finishMaybe (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_writable.js:627:5)
          at endWritable (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_writable.js:638:3)
          at DestroyableTransform.Writable.end (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_writable.js:594:41)
          at DestroyableTransform.onend (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_readable.js:577:10)
          at Object.onceWrapper (events.js:420:28)
          at DestroyableTransform.emit (events.js:326:22)
          at DestroyableTransform.EventEmitter.emit (domain.js:483:12)
          at endReadableNT (/Users/hansangjin/Desktop/wonderWall/Wonderwall-API-V2-Class/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)
     
      Get Support --------------------------------------------
         Docs:          <http://docs.serverless.com|docs.serverless.com>
         Bugs:          <http://github.com/serverless/serverless/issues|github.com/serverless/serverless/issues>
         Issues:        <http://forum.serverless.com|forum.serverless.com>
     
      Your Environment Information ---------------------------
         Operating System:          darwin
         Node Version:              12.22.1
         Framework Version:         2.41.2 (local)
         Plugin Version:            5.1.0
         SDK Version:               4.2.2
         Components Version:        3.9.2
    j
    • 2
    • 3
  • a

    Arun Kumar

    05/20/2021, 9:16 AM
    How to auto generate the pk field
    r
    • 2
    • 8
  • b

    BryanM

    05/20/2021, 2:57 PM
    How do I update the prisma CLI to the latest version on my local machine?
  • n

    Natalia

    05/20/2021, 2:59 PM
    fast parrot What's New in Prisma (v2.23.0) is live in 1 minute!

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

    🚀 4
    fast parrot 1
    🇰🇷 1
  • j

    Jon Insley

    05/20/2021, 5:46 PM
    Has anyone setup full text search in prisma using raw SQL? It looks like full text search is not natively supported in prisma yet.
  • b

    Briggs

    05/20/2021, 6:12 PM
    Has there been any headway on best ways to replace prisma 1 subscriptions in prisma 2, either implementations that are recommended or actually pulling it into prisma 2 itself
  • k

    Krishan Hettihewa

    05/21/2021, 12:55 AM
    Beta.kodecloud.com 🤷🏼‍♂️
  • a

    Alex Ruheni

    05/21/2021, 5:38 AM
    Hello folks 👋🏾 We're glad to announce our new Meetup - Connect Dev Africa. This is a community for connecting developers and developer communities within Africa - showcasing awesome engineers and products. 🤩 Our first session will be on the 27th of May at 6 PM CEST. We have three speakers lined up: ◭ Gift Egwuenu - Personal Branding for Software Engineers ◭ Ekene Eze - Building large sites on the Jamstack with On-demand builders (ODB) ◭ Mahmoud Abdelwahab - The Beginner’s Guide to GraphQL RSVP here: https://www.meetup.com/connect-dev-africa/events/278245682/ -

    set a reminder on YouTube▾

    . See you there! If you're interested in speaking at one of our events, feel reaching out to me 🙂
    prisma green 4
    fast parrot 5
    💯 5
    🌍 1
  • b

    Beyond

    05/21/2021, 6:53 PM
    This query is throwing error that "_count" is not a valid argument why? I have seen similar query in your documentation
    j
    • 2
    • 10
  • p

    Perry Raskin

    05/21/2021, 8:37 PM
  • p

    Perry Raskin

    05/21/2021, 8:37 PM
    unable to build my Nextjs app all of a sudden, any idea what this means?
  • p

    Perry Raskin

    05/21/2021, 8:47 PM
    had to update typescript! all good 🙂
    👍 2
  • s

    Scott

    05/21/2021, 9:55 PM
    Hey, I’m trying to understand Prisma and when to use it a little better. Does prisma replace or complement a node server like express?
    b
    j
    • 3
    • 11
  • b

    Beyond

    05/22/2021, 12:38 PM
    Hello, is it possible to add a feature like notSelect to enable users to blacklist some columns not to be selected? Cos I would like to fetch everything about users excluding password. Or do we already have such a feature? Cos I know we already have select attribute to whitelist some columns
    j
    • 2
    • 2
  • c

    CKGG

    05/22/2021, 7:59 PM
    Hi all :)
  • c

    CKGG

    05/22/2021, 8:05 PM
    I have questions I want to build express js API + msql dB with prisma to use as flutter app backend but getting confused where and how to host my prisma API project? Can do like this setup mysql dB in my vps server and connect that with prisma project deployed via Vercel is that possible?
    j
    r
    • 3
    • 2
  • a

    andrewlinfoot

    05/22/2021, 11:14 PM
    hey prisma team! had a quick question about the
    not
    operator: Is the
    not
    operator supposed to exclude null values? the docs say that using the the not operator with the
    in
    operator will not include rows with null values but it’s not mentioned if that is the case when using the not operator alone. I’m currently adding a feature to our app and using the not operator like this:
    Copy code
    where: {
      fieldNameHere: { not: 'someString' }
    }
    but it’s not returning results where that field is null. is that expected behavior or a potential bug? if that’s not expected behavior, lmk and id be happy to file an issue with a code sample to reproduce
    r
    • 2
    • 2
  • a

    andrewlinfoot

    05/22/2021, 11:16 PM
  • z

    Zafar Ansari

    05/24/2021, 11:41 AM
    Is it possible to define check constraint on a field? How can we create index on a Json fields?
    r
    • 2
    • 2
  • t

    Tharshan

    05/24/2021, 3:47 PM
    Is there a guide to setup Sentry + prisma + graphql - so that we get good tracing and error tracking
    r
    • 2
    • 2
  • m

    Mohammed alreai

    05/25/2021, 12:35 PM
    can anyone help me with that error
    r
    • 2
    • 2
  • s

    sapkra

    05/25/2021, 2:30 PM
    Is there any plan to put the "Realtime API / Subscriptions Support" onto the roadmap? There are several users (including myself) which are still stuck on Prisma 1 because of the missing feature. It's the 4th most upvoted issue on GitHub.
    n
    • 2
    • 5
  • a

    Arun Kumar

    05/25/2021, 5:53 PM
    Below is my workflow config. I'm getting an error Environment variable not found: DEV_DATABASE_URL.
    Copy code
    env:
      SERVICE_NAME: ${{ github.event.repository.name }}
      COMMIT_SHA: ${{ github.sha }}
      PORT: 8080
      DEV_DATABASE_URL: <postgresql://test:test@123>@00.000.000.00:5432/test-dev?schema=public
    • 1
    • 1
  • t

    Tobias Lins

    05/25/2021, 8:07 PM
    👋🏻 Is it possible to connect Prisma with an ssh tunnel/socks5 proxy?
  • a

    Arun Kumar

    05/26/2021, 6:13 AM
    Should we run the
    npx prisma
    generate in the docker every time we make changes to the schema?
    r
    j
    • 3
    • 6
  • m

    Misha Moroshko

    05/26/2021, 11:09 AM
    noob question: when deploying a next.js app that’s using prisma with sqlite, wouldn’t the database file be nuked on every deployment? how would the data in the database persist across deployments?
    r
    d
    • 3
    • 5
  • m

    Misha Moroshko

    05/26/2021, 11:33 AM
    another noob question: is it possible to configure prisma studio so it’s available on a certain route of a deployed on vercel next.js app?
    r
    j
    • 3
    • 2
  • j

    John McElreavey

    05/26/2021, 2:39 PM
    Has anyone had any issues running the seed command on an actual server like an EC2 instance? When I run it the server completely locks up.. Seems to be something to do with tsc 🤔
    r
    d
    • 3
    • 3
  • n

    Natalia

    05/26/2021, 4:00 PM
    We are live!

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

    🚀 1
  • m

    Malcolm

    05/26/2021, 5:03 PM
    Anyone have any experience with this? The same deployment worked to my staging endpoint but now getting this error with prod
    j
    d
    • 3
    • 6
1...434435436...637Latest