Skip to content

Current Prisma2 limitations.  #1035

Closed
Closed

Description

@Ericnr

I can't wait to try out Prisma2 in a new project, but there's a few things I'd like to know if it's supported or not. Is there link where I can see if certain features have been implemented?. Things like JSON field, check constraint, aggregates, etc. Much appreciated!

Activity

  1. pantharshit00 commented on Dec 2, 2019

    @pantharshit00
    Contributor

    Hi,

    We list some of the limitations here: https://github.com/prisma/prisma2/blob/master/docs/limitations.md

    You can look into the issue for other limitations.

    Unfortunately, the things that you have mentioned are also work in progress 😅.

    You can check the specs repository on what is coming: https://github.com/prisma/specs

  2. Ericnr commented on Dec 2, 2019

    @Ericnr
    Author

    Cool, tyvm! I don't see JSON fields or check constraint in the specs, I hope they'll be added.

  3. pantharshit00 commented on Dec 3, 2019

    @pantharshit00
    Contributor

    JSON fields are part of the native type. We will not only support JSON type but all other database types in the future: https://github.com/prisma/specs/tree/master/schema#type-definitions-provided-by-connectors. JSON will just another postgres type.

    I opened a new spec issue for check constraints though: https://github.com/prisma/specs/issues/344

  4. yovanoc commented on Dec 3, 2019

    @yovanoc

    Hey, I'm working with protobuf, and I get a Long type for uint64 and there is no way actually to save more than an Int in prisma?
    image

  5. pantharshit00 commented on Dec 3, 2019

    @pantharshit00
    Contributor

    Longs are also part of type declarations as described by @matthewmueller here: https://github.com/prisma/photonjs/issues/170#issuecomment-517369338

    Type declarations is a long ongoing work that will remove many limitations. It still requires much product and implementation work so it is taking time.

  6. Ericnr commented on Dec 3, 2019

    @Ericnr
    Author

    Question answered!

  7. added 2 commits that reference this issue on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions