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

    Alberto Perdomo

    09/16/2021, 12:02 PM
    📣 New channel announcement For any folks using Prisma Data Platform at cloud.prisma.io, we now have a dedicated channel for issues and feedback at #prisma-data-platform.
  • u

    user

    09/16/2021, 12:24 PM
    Deploying Prisma on Lambda using the CDK

    https://www.youtube.com/watch?v=9zr6LHaMMYAâ–ľ

    In this talk you will learn how Prisma combined with the CDK make deploying and interacting with your database easy on Serverless Ryan is a Developer Success Engineer who loves working with TypeScript and orchestrating applications on the Cloud Next: 👉 Check Previous video: Nick Van Wiggeren - What's new at PlanetScale?

    https://youtu.be/YW9zyYJHOvoâ–ľ

    👉 Check Next video: Harsh Singh - Database Design 101
  • j

    Jonas

    09/16/2021, 12:24 PM
    It seems like middleware will only run for explicitly called queries, not nested ones, correct?
    r
    • 2
    • 1
  • u

    user

    09/16/2021, 12:25 PM
    Database Design 101

    https://www.youtube.com/watch?v=PUfqXnWhwLkâ–ľ

    In this video, Harsh Singh will go through the basic steps of designing a database, from defining an objective to normalization. Harsh is a 10th-grade Highschool Student from New York. He’s interested in web development and design and likes to participate in his school’s robotics club. When he’s not coding, he enjoys riding bicycles and playing basketball” Next: 👉 Check Previous video: Deploying Prisma on Lambda using the CDK

    https://youtu.be/YW9zyYJHOvoâ–ľ

  • j

    Jonas

    09/16/2021, 12:26 PM
    Like when I do
    prisma.model.create({relation: {create: { name: <string> }}})
    or something similar, my middleware will be called for the outer, but not the nested create?
  • j

    Jonas

    09/16/2021, 12:26 PM
    At least that is what I'm observing.
  • j

    Jonas

    09/16/2021, 12:26 PM
    Is there a way to intercept the inner create as well?
  • m

    Mischa

    09/16/2021, 1:52 PM
    Any tips on how to write unit tests for prisma-appsync custom resolvers?
  • u

    user

    09/16/2021, 3:40 PM
    GraphQL Nairobi Meetup - Joey Ng'ethe, Mahmoud Abdelwahab - Building a GraphQL API with Prisma

    https://www.youtube.com/watch?v=_YtiUIfI83Eâ–ľ

    ◭ In this video, Mahmoud and Joey will cover how to use Prisma inside of GraphQL resolvers to query a database, using the apollo-server for the http layer, and a schema-first approach for the implementation. ◭ Joey (@AfricanSinatra) is a Frontend Engineer at Twiga Foods, and the founder of the GraphQL Nairobi Meetup. Joey mostly builds React apps powered by GraphQL backends and likes to share his knowledge with the community through his blog posts ◭ Mahmoud (@thisismahmoud_) is a Developer Advocate at Prisma and an instructor at Egghead.io. He is obsessed with & creating exceptional, high-quality, content and applications. ◭ This talk has been recorded during GraphQL Nairobi Meetup. Join our GraphQL Nairobi Meetup group here: https://www.meetup.com/Nairobi-GraphQL-Meetup Next: 👉 Check Previous video: Generating GraphQL Queries with Julian Mayorga -

    https://youtu.be/kKrlkd5yUS8â–ľ

    ------------------------ 📚 Resources: ✅ Subscribe to Prisma: https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmation=1 ✅ Get help from the Prisma Community: https://slack.prisma.io/ ✅ Learn more about Prisma: ◭ Website: https://www.prisma.io ◭ Docs: https://www.prisma.io/docs ◭ Quickstart: https://pris.ly/qstart ------------------------ 💬 Connect with Prisma: 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 ------------------------ 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
  • u

    user

    09/16/2021, 3:40 PM
    GraphQL Nairobi Meetup - Julian Mayorga - Generating GraphQL Queries

    https://www.youtube.com/watch?v=kKrlkd5yUS8â–ľ

    ◭Writing GraphQL queries is easy if you learn the syntax, but did you know that you can generate queries with code? This talk with Julian Mayorga will cover Dynamic GraphQL Queries. ◭ Julian is a Software Engineer at Graphcms.com and author of https://www.graphql.college/fullstack-graphql/ and https://graphql.college. ◭ This talk has been recorded during GraphQL Nairobi Meetup. Join our GraphQL Nairobi Meetup group here: https://www.meetup.com/Nairobi-GraphQL-Meetup ------------------------ 📚 Resources: ✅ Subscribe to Prisma: https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmation=1 ✅ Get help from the Prisma Community: https://slack.prisma.io/ ✅ Learn more about Prisma: ◭ Website: https://www.prisma.io ◭ Docs: https://www.prisma.io/docs ◭ Quickstart: https://pris.ly/qstart ------------------------ 💬 Connect with Prisma: 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 ------------------------ 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
  • h

    Hector

    09/16/2021, 5:56 PM
    Hello, qq, is there a way to have M-M self relations with a relational table between that hosts metadata of the relations?
    c
    • 2
    • 3
  • t

    Tyler Clendenin

    09/17/2021, 2:06 AM
    If my schema has a Decimal field, and I am publishing it via an API (the decimal serializes to a string) how do I ensure my react app (typescript) deserializes the json to an object with the Decimal property?
    r
    • 2
    • 3
  • m

    Muhad B K

    09/17/2021, 8:18 AM
    PANIC: called
    Option::unwrap()
    on a
    None
    value in query-engine\core\src\response_ir\internal.rs:334:86 https://github.com/prisma/prisma/issues/9303
  • m

    Muhad B K

    09/17/2021, 8:30 AM
    _count have an issue in the prisma 3.02 , - MongoDB
    r
    • 2
    • 2
  • l

    Luis Kuper

    09/17/2021, 8:50 AM
    Is it possible yet to filter in a query by relational count?
    r
    • 2
    • 1
  • u

    user

    09/17/2021, 10:52 AM
    Prisma Meetup #7 - Nick Van Wiggeren - What's new at PlanetScale?

    https://www.youtube.com/watch?v=ZkvYClReZeAâ–ľ

    â—­ Nick Van Wiggeren is a Director of Engineering at PlanetScale, where he runs the teams responsible for the API, front-end, database clients, and much more. Previously, he worked all over the GitHub product, and in many other developer-facing products that you know and (hopefully) love. â—­This talk has been recorded during Prisma Meetup. Join our Prisma Meetup group here: https://www.meetup.com/Berlin-Prisma-Meetup
  • u

    user

    09/17/2021, 2:55 PM
    Rust and Tell - an onsite event - livestream!

    https://www.youtube.com/watch?v=7Xcg2_keSl0â–ľ

    “Rust and Tell“ is a monthly event to share ideas, and learn about new things in and about Rust. Meet fellow Rustaceans, share your learnings, get motivated and inspired. Some ideas include but are not limited to experience learning about async programming in Rust, how to implement a no-std compliant crate for use on embedded systems or struggles with the borrow checker, and how to overcome them. All ideas are welcome! Here's the agenda: ◭ 7:00 - Welcome and announcements ◭ 7:10 - Talk 1: Zeeshan Ali (@zeenix) - "Async/await: The good, bad and the ugly" ◭ 7:30 - Q&A + announcements from Prisma ◭ 7:55 - Talk 2: Bastian Gruber - "Learning Rust: One tutorial to rule them all" ◭ 8:15 - Q&A ◭ 8:25 - Break + snacks ◭ 8:45 - Talk 3: Michał Rostecki (@vadorovsky) - "Developing and managing eBPF programs with Rust" ◭ 9:05 - Q&A
  • h

    Hector

    09/17/2021, 4:23 PM
    The Prisma VS Code extension appears to have a serious memory leak issue bogging down the whole app. Anyone else experienced this?
  • j

    joshua

    09/17/2021, 5:28 PM
    can anyone tell me what this error means:
    Copy code
    Error: Migration engine error:
    db error: ERROR: prepared statement "s0" already exists
  • g

    glenn

    09/17/2021, 5:48 PM
    is prisma configurable with google cloud datastore?
  • m

    Mischa

    09/17/2021, 6:24 PM
    What are the “Unchecked” types for? And is it documented?
    r
    • 2
    • 1
  • h

    Harsha MV

    09/17/2021, 6:37 PM
    Am getting the following error with Heroku database. Any help on how i can solve this
    Copy code
    Error querying the database: db error: FATAL: too many connections for role "qcjoaamjgbnxjx"
    this my prisma file which I import
    Copy code
    import { PrismaClient } from '@prisma/client';
    
    const prisma = new PrismaClient();
    export default prisma;
    g
    • 2
    • 5
  • m

    Mischa

    09/17/2021, 7:04 PM
    Is there a way to update a column to
    NOW()
    ?
    r
    • 2
    • 1
  • d

    Davit Badalyan

    09/17/2021, 9:42 PM
    @Mischa do you mean when you update something? Are you looking for a
    updatedAt
    column?
    m
    • 2
    • 2
  • d

    Davit Badalyan

    09/17/2021, 9:42 PM
    if so , you can take a look at @updatedAt, but there are some caveats. For example this.
  • j

    Jin

    09/18/2021, 10:37 AM
    Hello guys. does somebody know how to make filter “in-sensitive-case ” ?
    Copy code
    t.crud.reviews({ filtering: true, pagination: true, ordering: true });
    h
    • 2
    • 2
  • j

    Jin

    09/18/2021, 10:43 AM
    cool thank you so much!
    🙌 1
  • d

    DevloperAri Roy

    09/18/2021, 2:07 PM
    i'm a beginner can someone tell me why i'm getting this error "null constraint violation on the fields "
    k
    r
    • 3
    • 4
  • j

    joshua

    09/18/2021, 2:18 PM
    hey all, i found a tutorial for nextjs and set up my prisma client like so:
    Copy code
    import { PrismaClient } from "@prisma/client";
    
    interface CustomNodeJsGlobal {
      prisma: PrismaClient;
    }
    
    declare const global: CustomNodeJsGlobal;
    
    const prisma = global.prisma || new PrismaClient();
    
    if (process.env.NODE_ENV === "development") global.prisma = prisma;
    
    export default prisma;
    after 10-15 mins of development i keep getting this error:
    Copy code
    Error querying the database: db error: FATAL: remaining connection slots are reserved for non-replication superuser connections
        at cb (/Users/joshua/Desktop/next-prisma/node_modules/@prisma/client/runtime/index.js:36946:17)
    my DB is set up on digital ocean and my DB URL looks like this:
    Copy code
    <postgresql://USER_NAME:PASSWORD@HOST>:PORT/DATABASE?sslmode=require
    any tips on how i can eliviate this?
    r
    j
    • 3
    • 8
  • h

    Harsha MV

    09/18/2021, 5:12 PM
    Am trying to integrate Prisma with SupaBase and when i run create i am getting an error
    bind message supplies 1 parameters, but prepared statement \"s1\" requires 2
    https://stackoverflow.com/questions/69236812/prisma-supabase-bind-message-supplies-1-parameters-but-prepared-statement
1...483484485...637Latest