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

    haf

    09/11/2019, 8:23 AM
    Is Prisma/Graphcool is as Backend as a Service; what do I do if I need a bit of PubSub?
    c
    • 2
    • 4
  • r

    Ross O'Brien

    09/11/2019, 8:58 AM
    Hey, I am implementing a feature that creates a new record but each time a new record is created it is given an incremented number. I.E. document: 001, 002, 003 etc. Is there a way to add a static variable common to all instance of a datatypes that auto increments or do i just need to model this value as a datatype and manually increment it each time i create a new record?
  • j

    Jidé

    09/11/2019, 1:35 PM
    Hey folks ! I have a question that remains a mystery to me since the beginning: If in a resolver I return a result and I have a child resolver for a field which does another query, will it do 1+N queries ? And with prisma-binding, is it handled magically under the hood ? Or is some kind of general batching handling all of this ?
  • w

    Wahib Abdou

    09/11/2019, 5:05 PM
    Any helpppp?
    j
    • 2
    • 1
  • r

    rock-n-node

    09/11/2019, 6:32 PM
    Hello, do we have an ETA for Prisma 2 ? would it be a few more days, weeks or months ? just to have a rough idea thanks 🙂
  • i

    Igor Vuleta

    09/12/2019, 7:09 AM
    Hi guys, who can I talk to regarding playgrounds? I meant from the prisma team.
  • u

    Usman Rajab

    09/12/2019, 11:28 AM
    is prisma server in eu down?
  • u

    Usman Rajab

    09/12/2019, 11:28 AM
    does prisma have some type of status page?
  • c

    cpd

    09/12/2019, 11:31 AM
    I was just wondering this too - getting various server errors with the eu demo server
  • c

    cpd

    09/12/2019, 11:40 AM
    have setup a new dev server on the us demo server and all seems to be working fine
  • u

    Usman Rajab

    09/12/2019, 11:40 AM
    hmm thanks for the info.
  • c

    cpd

    09/12/2019, 11:45 AM
    you're welcome!
  • m

    Maciek K

    09/12/2019, 11:56 AM
    eu demo server problems too. look like down. they don't have a status page as far as I know
  • s

    Shoyad

    09/12/2019, 8:10 PM
    Hello
  • s

    Shoyad

    09/12/2019, 8:10 PM
    I have some questions about type/support
  • s

    Shoyad

    09/12/2019, 8:10 PM
    https://github.com/prisma/nexus-prisma/issues/404
  • s

    Shoyad

    09/12/2019, 8:10 PM
    Please help me about it
  • j

    Jaakko P

    09/13/2019, 9:23 AM
    Is there a way to prevent Prisma from modifying my existing database? I've tried
    migrations:false
  • j

    Jaakko P

    09/13/2019, 9:24 AM
    For example
    code: Int! @db("operator_uic_code")
    tries to create a column
    operator_uic_code
    to my existing database which is something I do not want. I'm trying to tell Prisma that field
    code
    is found from database column
    operator_uic_code
  • f

    Fran Dios

    09/13/2019, 11:37 AM
    Hi! Has anyone tried FaunaDB? I’ve seen there’s a Rust connector in Prisma repo but I’m a bit confused about FaunaDB vs Prisma. Aren’t they alternatives to each other? What’s the benefit of running Prisma on top of it? Migrations?
    d
    • 2
    • 2
  • j

    joar

    09/13/2019, 1:28 PM
    Hey, any news on this? https://github.com/prisma/prisma/issues/1655
    👋 1
    d
    • 2
    • 4
  • j

    joar

    09/13/2019, 1:28 PM
    (DynamoDB support)
  • j

    Jidé

    09/13/2019, 2:12 PM
    Hello there, I’m trying to make a deploy in a totally empty rds database. Deploy works in docker, with similar configuration. But when targeting the RDS instance, prisma deploy yields errors such as :
    Copy code
    Project
        ✖ Could not find the table for the model `Project` in the database.
        ✖ Could not find the column for the inline relation field `favoriteThumbPreset` in the database.
    
      Cue
        ✖ The underlying column for the field `validation` has an incompatible type. The field has type `Enum` and the column has type `String`.
    which does not make sense since the database is empty, and I triple check the endpoint, and prisma info lists the correct endpoint. Any idea ?
  • j

    Jidé

    09/13/2019, 2:13 PM
    (the RDS instance previously had data, but I checked using pgsql and there are only the pg_ schemas there)
  • a

    arun singh

    09/13/2019, 2:30 PM
    @here any detailed doc on RQL ?
  • d

    deactivateduser

    09/13/2019, 2:56 PM
    any sources on building relations using prisma + graphql?
  • d

    deactivateduser

    09/13/2019, 2:56 PM
    the prisma part is obvious
  • b

    bruce

    09/13/2019, 3:00 PM
    Anyone know if connect should update the many side of relationships when using a create mutation to init a child. e.g) https://www.prisma.io/forum/t/using-connect-on-a-1-relationship-question/7881
  • d

    Dinnall

    09/13/2019, 4:39 PM
    Hi there, I when i try to update my datamodel.prisma i keep receiving this message. ANY HELP IS APPRECIATED
    Copy code
    Errors:
    
      User
        :heavy_multiplication_x: Valid values for the strategy argument of `@scalarList` are: RELATION.
    Here is my *datamodel.prisma * set up
    Copy code
    enum Permission {
      ADMIN
      USER
      GROUPCREATE
      GROUPUPDATE
      GROUPDELETE
      PERMISSIONUPDATE
    }
    
    type User {
    	 id: ID! @id 
    	 first_Name: String!
    	 last_Name: String!
    	 email: String! @unique
    	 password: String!
    	 resetToken: String
    	 resetTokenExpiry: Float
       createdGroups: [Group]! @relation(name:"CreatedGroupsBy")
    	 groups: [Group]! @relation(name:"JoinedGroups")
    	 user_violations: Int
    	 permissions: [Permission] 
    	 createdAt: DateTime! @createdAt
    }
    
    type Group {
      id: ID! @id
      title: String
      author: User! @relation(name: "CreatedGroupsBy")
      members: [User]! @relation(name: "JoinedGroups")
      draw_amount: Int!
      createdAt: DateTime
    }
  • j

    jregistr

    09/13/2019, 6:18 PM
    Quick question for Prisma 2, is there on going work for making a client target for jvm(so far for prisma1 we’ve got go, js, ts)?
1...311312313...637Latest