prisma-schema
    Preparing search index...

    Function printOrderBySchema

    • Print the dedicated order-by schema for the given model

      Parameters

      • model: DMMF.Model

      Returns string

      string

      export const ModelNameOrderBySchema = z.object({
      id: _direction,
      name: _direction
      })