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

    Sequential

    08/13/2020, 4:57 PM
    Tuning in, I tried for about 3 days to get an authenticated friends of friends query setup in Hasura and still never got it. Took me 2 hours with prisma. Super excited about prisma.
    prisma cool 1
    💯 4
  • s

    Slackbot

    08/13/2020, 6:26 PM
    This message was deleted.
    a
    • 2
    • 1
  • a

    Alex Reyne

    08/13/2020, 9:45 PM
    Are there any example of using select/include on create? Nothing in the docs around CRUD. 😞
    n
    r
    • 3
    • 2
  • m

    Matheus Assis

    08/14/2020, 2:06 PM
    Is there a way to have a "computed"/"fake" field in schema.prisma while not having the column in the database?
    r
    • 2
    • 5
  • k

    KJReactor

    08/14/2020, 6:46 PM
    I'm having issues with the process of upgrading to Prisma2. I'm stuck at the introspection part. The guide, https://www.prisma.io/docs/guides/upgrade-guides/upgrade-from-prisma-1/upgrading-the-prisma-layer/#2-create-your-prisma-2-schema, says the model is not defined in schema.prisma file but now how it is defined in it. The introspection command itself does not work for me since I don't have that schema defined and my db is empty
    j
    • 2
    • 3
  • k

    KJReactor

    08/14/2020, 6:48 PM
    I feel like I was meant to deploy using Prisma 1 before upgrading to Prisma 2.
    j
    • 2
    • 2
  • j

    Jonathan Romano

    08/14/2020, 10:05 PM
    Has there been any discussion about a "form" mode for Prisma Studio? IIRC there was something similar in Prisma Admin. The admin interface in Django is a really great strength. While the current tabular layout can be good for some scenarios, it's less useful as a low-effort backoffice, particularly when you want to read/edit longer fields. EG, in our current setup we use our admin interface to write news posts, manually adjust user profiles, etc. I can post a request in prisma/studio if that's helpful
    a
    r
    • 3
    • 6
  • e

    Eddy Nguyen

    08/15/2020, 11:19 AM
    Is there a channel where we can see websites built with prisma2? 🙂 I’m looking for inspirations
    k
    r
    • 3
    • 4
  • c

    Camilo

    08/15/2020, 1:49 PM
    Hello everyone! Quick question: I'm trying to organize a stack to work fast on projects and I'm looking for the right ORM. I tried TypeORM and MikroORM. Prisma has the same functionality, right? Also I saw that plays well with Typescript.
    r
    • 2
    • 1
  • k

    KJReactor

    08/15/2020, 5:01 PM
    What does the Table strategy does under the hood? Is it creating a foreign unique key to establish 1:n relationships?
    j
    • 2
    • 6
  • k

    KJReactor

    08/15/2020, 5:03 PM
    If someone can explain in database design or in terms of SQL, it'll help immensely.
  • n

    Nwoko Lawrence Ndubueze

    08/16/2020, 9:55 PM
    Hi guys my name is Lawrence and here are my skills below : ❖ React ❖ Node ❖ DevOps (Docker & Kubernetes) ❖ Graphql and apollo ❖ Networking ❖ Mobile Dev (React Native) cross platform ❖ Server Management ❖ Database Administrator ❖ Cloud Computing (Vulter, Digital Ocean & AWS) ❖ PHP ❖ MySQL ❖MongoDb In case there are available remote jobs
  • n

    Nwoko Lawrence Ndubueze

    08/16/2020, 9:56 PM
    I have been a software developer for 15 years now
  • s

    stephan

    08/17/2020, 12:02 PM
    how can i query the inside of a JSON field ?
    r
    n
    j
    • 4
    • 9
  • k

    KJReactor

    08/17/2020, 12:21 PM
    When will migrations be stable on v2?
    n
    • 2
    • 2
  • k

    KJReactor

    08/17/2020, 1:07 PM
    I just noticed "String" types are being mapped to "Text" rather than varchar or varying character in Postgres as shown in the docs
    n
    r
    • 3
    • 5
  • j

    Jonty Coertzen

    08/17/2020, 5:33 PM
    Hey, has anyone experienced high CPU usage when using prisma in production? Im running on GCP and my server is dying with 10 visitors
    r
    • 2
    • 2
  • a

    Armaan Dhanji

    08/17/2020, 11:07 PM
    Hi Prisma Team & anyone else. The deployment documentation mention deploying to Heroku, Vercel, etc, but there is currently no guide for Render. (render.com). Is there any advice that you can provide on deploying to Render? Render does not support docker-compose.
    j
    d
    • 3
    • 8
  • p

    prilutskiy

    08/18/2020, 11:05 AM
    Just curious, how is Prisma being monetized?
    d
    • 2
    • 1
  • a

    Alex Reyne

    08/18/2020, 3:29 PM
    Is there a way to get a sum of all rows in a column with Prisma?
    j
    • 2
    • 2
  • a

    Alex Reyne

    08/18/2020, 3:30 PM
  • a

    Alex Reyne

    08/18/2020, 3:30 PM
    Like add all these
  • m

    Mark Rieth

    08/18/2020, 7:06 PM
    is there a way to make prisma migrate fail and exit when there will be data loss?
    r
    • 2
    • 2
  • k

    KJReactor

    08/19/2020, 2:50 AM
    Prisma 1 seemed to have never officially announced support for Mongo and yet I was able to use it. Prisma 2 seems to not accept MongoDB as a datasource...am I correct?
    j
    j
    • 3
    • 5
  • a

    Adam Murray

    08/19/2020, 1:37 PM
    Hi, y'all 👋 I'm trying to get help with a problem... I'm getting back into a codebase I haven't been in in a long time and it uses Prisma and I didn't write the code ... I am having problems and was wondering if anyone could help orient me toward the right place to look.
    r
    r
    • 3
    • 13
  • l

    lawjolla

    08/19/2020, 5:58 PM
    Prisma 1 hardened vet now looking at Prisma 2, so this may be a silly question. Prisma 1 spun up a GraphQL playground where you could learn about the API / Prisma Client object. Prisma Client 2 seems more of a black box. Is there some sort of introspection/docs tool for Prisma Client 2?
    j
    a
    +3
    • 6
    • 12
  • j

    Jack

    08/20/2020, 8:54 AM
    Hey guys, does anyone know how stable the transaction api is right now? Wondering if it's safe to start using it in production.
    j
    • 2
    • 4
  • d

    defrex

    08/20/2020, 3:04 PM
    Can anyone think of a good way to programatically tell if a field is nullable at runtime? The data is in the schema and the types, but I need to look it up programatically at runtime, which doesn’t seem possible from what I can tell.
    r
    • 2
    • 6
  • a

    Alex Reyne

    08/20/2020, 3:06 PM
    So I'm having an issue - trying to add a row to table Entries, which has a linked column lotto_id to Lotto, however when I run this, it errors out. I've tried lotto and lotto_id
    r
    • 2
    • 9
  • a

    Alex Reyne

    08/20/2020, 3:07 PM
    unknown "lotto" did you mean "lotto" lol
1...392393394...637Latest