prisma-schema
    Preparing search index...

    Function printProjectionSchema

    • Print the combined projection schema including select, omit, and include.

      Parameters

      • model: DMMF.Model

        DMMF.Model

      Returns string

      string

      export const ModelNameProjectionSchema = z.union({
      z.object({ select: SelectSchemaName }),
      z.object({ omit: OmitSchemaName }),
      z.object({ include: IncludeSchemaName }),
      z.object({ })
      })