https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# random
  • v

    Vladi Stevanovic

    07/27/2021, 2:57 PM
    https://www.tiktok.com/@prismadata/video/6989614501435903237?lang=en&is_copy_url=1&is_from_webapp=v1
    🙌 1
  • n

    Nishchit

    07/28/2021, 5:30 PM
    https://blog.firecamp.io/create-an-api-for-real-time-chatting-application-with-graphql-in-4-steps
  • z

    Zeeshan Ahmad

    07/29/2021, 9:37 AM
    Hi guys, How can i create enum with numeric values. I have following code but the prisma through error upon running migrate command:
    Copy code
    enum Status {
      1000
      1001
      1002
      1003
    }
    n
    m
    • 3
    • 2
  • t

    Tarang Jain

    07/30/2021, 9:59 AM
    hey guys I want to import data from staging database to local database with all FKS im facing issue related to importing FK
  • n

    Nika Musić

    07/30/2021, 10:13 AM
    We’re on a roll with TikToks this week 😄 Wondering what the Berlin Prisma office looks like? Fingers crossed we can return to hosting meetups and barbecues in person soon! 🤞 https://vm.tiktok.com/ZMdvo5pjT/
    prisma rainbow 3
    🍢 3
    💯 3
  • d

    Daniel Laera

    07/30/2021, 7:56 PM
    😂 15
    😅 4
  • l

    Laurie Lohman

    08/05/2021, 10:35 PM
    Hello everyone,
  • l

    Laurie Lohman

    08/05/2021, 10:35 PM
    New here, but was just wondering what is the best way to handle file uploads with prisma?
    d
    v
    • 3
    • 2
  • a

    Alexei Snisarenko

    08/09/2021, 7:45 AM
    Greetings everyone! I am relatively new to prisma and wondering if I could get some highlight on the proper usage of prisma to kinda get match my expectations to the reality 🙂 Stack: apollo graphql + prisma + typegraphql (generating resolvers). schema.prisma: model SomeModel {… id… value Decimal…} model SomeAggregateModel {… id… aggregateValue Decimal…} business logic: (for example) - when SomeModel.value changes - do set SomeAggregateModel.aggregateValue=sum(all values from SomeModel.value) Use case • user in the frontend updates a value which gets updated in the backend through generated resolver UpdateSomeValueResolver • somehow the business logic gets triggered • upon update to SomeAggregateModel.aggregateValue the frontent gets notified and refreshes the display of aggregateValue to the user Questions: 1. Is it correct to expect the existence of ‘trigger’ mechanism which will initiate the business logic to run upon update to the SomeModel.value? 2. If such mechanism exists - would mind to point to some reading/manual/help/documentation reference as to how to enable this mechanism? 3. If such mechanism does NOT exist - what would be the most efficient way to implement the use case given the constraint of creating as less code as possible (i.e. in that case I guess there will have to be custom resolver I guess which front end will need to call to trigger the business logic of calculating the aggregatevalue) I would really appreciate advice on the use case above as I feel like the triggering must be there but so far not lucky enough to find it 🙈
    v
    r
    • 3
    • 7
  • v

    Vladi Stevanovic

    08/09/2021, 9:23 AM
    👋 for any Prisma prisma dark + GraphQL graphql*enthusiasts*, we have a meetup coming up this Friday, August 13, 2021 3:00 PM to 5:00 PM CEST! Talks: ✅ Using GraphQL with Prisma by Joe Ng'ethe and Mahmoud Abdelwahab ✅ How to create GraphQL queries using the graphql-js library by Julián Mayorga 👉 Sign up: https://www.meetup.com/Nairobi-GraphQL-Meetup/events/279438085/
  • t

    Tri Nguyen

    08/12/2021, 10:38 AM
    Hi, I'm doing some e2e testing with Cypress and stuck at something very weird. Anyone here good with Cypress can help me out? I posted my question here: https://stackoverflow.com/questions/68744887/cypress-preventing-api-call-from-finishing Tks
  • a

    Andrew Obrigewitsch

    08/13/2021, 10:33 PM
    Anyone in here interested in working on a project for TableTop RPGs?
  • c

    Chris Tsongas

    08/17/2021, 4:16 PM
    I'm learning GraphQL and Apollo for a new project, and found this page about custom scalars https://www.apollographql.com/docs/apollo-server/schema/custom-scalars/. I'm using Postgres with Prisma, and have several models with date
    DateTime @db.Date
    , date-time
    DateTime
    , and time
    DateTime @db.Time
    fields as well as a few fields storing JSON
    Json
    . Wondering if custom scalars are generally recommended as a best practice? Seems better than just making them all strings. If so, has anyone else created different custom scalars for a date by itself, vs date-time, vs time only?
    a
    c
    • 3
    • 2
  • n

    Nick

    08/23/2021, 2:01 PM
    Just received the Prisma Day Stickers 😍🔥
    🔥 9
  • j

    Jakub Hrášek

    08/24/2021, 12:38 PM
    Hello, is it possible in prisma to group by date part of datetime column? The query could look like this:
    Copy code
    SELECT DATE(dateCreated) as dateCreated, COUNT(id) as count
    FROM Users
    GROUP BY DATE(dateCreated)
    p
    • 2
    • 1
  • g

    gershon bialer

    08/28/2021, 3:08 PM
    Got 5-10 minutes? Please fill out this survey on buying eco-friendly products.  You can win a $25 gift card for Etsy. Thank You! https://docs.google.com/forms/d/e/1FAIpQLSegrtOasK4LS5-oHRzBjYynEwNaClkEcin1aWhw_T_YSQH-0A/viewform?usp=sf_link
  • l

    Logesh Kumar Rajkumar

    09/04/2021, 10:04 AM
    Hi is there any existing solution/workaround for this issue https://github.com/prisma/prisma/issues/6974
  • l

    Logesh Kumar Rajkumar

    09/04/2021, 10:06 AM
    I have implemented soft delete functionality using deletedAt column(if deleted adds timestamp). Now I have unique key in the table. I need to add unique index only if deletedAt column is null
  • n

    Nika Musić

    09/06/2021, 2:04 PM
    💯 Amazing people around the world are building local groups for women in tech in their communities, and Prisma is delighted to be able to highlight some of them: 👉 https://womenworldwide.dev/ 👈 However, we want to do more! ✨ Please help us by contributing to the website, through a PR, to add your favourite, local Women in Tech groups✨ 😍 We also love @DiversifyTechCo 's website! Check out the calendar with the upcoming events: https://www.diversifytech.co/events Here are some other events you can check out: • [Sept 2021] Women in IT Summit • [Oct 2021] The Women in Tech Summit • [Nov 2021] Women in Tech Festival 2021
    💻 3
    💯 4
    🧑🏻‍💻 1
    ❤️ 4
    🧑‍💻 3
    🌍 4
    🙌 2
  • v

    Vladi Stevanovic

    09/06/2021, 5:42 PM
    All the Prisma Stickers 💚 https://www.instagram.com/p/CTfSJiNItPg/?utm_source=ig_web_copy_link
    🙌 3
    fast parrot 3
    prisma rainbow 6
  • n

    Nika Musić

    09/10/2021, 1:37 PM
    This week's Developer Favorite goes to Snappify! 😍 ✨ Snappify is an editor that gives you the power to easily create and adjust beautiful code snippets. 🐦 Either paste your existing code or write it directly in the editor. It supports multiple programming languages, has six beautiful presets, and you can include your Twitter handle in it for your own personal branding. Check it out 👉 https://snappify.io/ 👈
    💚 1
    🙌 2
    👍 2
    📸 1
  • r

    Rohan Gupta

    09/14/2021, 4:36 PM
    Hey all, I urge you to come forward and support Kyle Simpson with his YDKJY edition 2 campaign! https://www.kickstarter.com/projects/getify/you-dont-know-js-yet-second-edition-books/posts/3301353
  • v

    Vladi Stevanovic

    09/17/2021, 11:42 AM
    This week's Developer Favorite goes to Grammarly! 😍 🤔 Did you know that the Grammarly Text Editor SDK allows developers to deliver real-time writing support to their apps’ users by adding just a few lines of code ? Check it out 👉 grammarly.com 👈 twitter larger Link for retweets
  • d

    Diego Feder

    09/23/2021, 5:56 PM
    😂 20
  • v

    Vladi Stevanovic

    09/24/2021, 10:39 AM
    This week's Developer Favorite goes to Mailbrew! 😍 ☕ This was a great addition to my morning routine: I receive a personal daily digest of all my newsletters, RSS feeds, Hacker News, Dev.to articles, top Tweets, Calendar Events, etc. Check it out 👉 mailbrew.com 👈 twitter larger Twitter post
  • v

    Vladi Stevanovic

    09/30/2021, 3:01 PM
    😁 9
  • v

    Vladi Stevanovic

    10/01/2021, 10:31 AM
    This week's Developer Favorite goes to AG Grid! 😍 AG Grid walks the line between low-config and extensibility very well 💯 We like it so much, that we used it in our Prisma Studio and Prisma Data Platform! 💚 Check it out 👉 ag-grid.com 👈 twitter larger Twitter post
    💯 1
  • d

    Dima

    10/02/2021, 10:32 PM
    Hi there! What is the best way to name the fields in the model if it's an abbreviation? For example "CLS" (Capital) or "cumulativeLayoutShift" (camelCase) - (Cumulative Layout Shift)
  • h

    Hyo

    10/05/2021, 3:34 PM
    Looks like Prisma
    💥 6
    😅 7
    🇰🇷 1
    fast parrot 7
    🦑 4
    e
    • 2
    • 2
  • a

    Alex Vilchis

    10/12/2021, 2:29 PM
    Hey guys 👋 What is your opinion on the state of package managers? What are you using for your projects? Do you prefer npm, yarn or pnpm? Why 🤔
    l
    • 2
    • 4
1...464748...53Latest