github t3-oss/create-t3-app create-t3-app@7.20.0

latest releases: create-t3-app@7.38.1, create-t3-app@7.38.0, create-t3-app@7.37.0...
14 months ago

Minor Changes

  • #1461 8034db0 Thanks @juliusmarminge! - feat: add drizzle

    This release adds a new option to use drizzle-orm as an alternative to Prisma.

    To make the different ORM options as similar as possible, some minor changes has also been made to the Prisma installer:

    • a new script db:push has been added and is included in both ORM options.
    • the prisma client has been renamed to db in the trpc context - you now access your database client like
      examples: publicProcedure.query((opts) => {
         // prisma
         opts.ctx.db.example.findMany()
         // drizzle
         opts.ctx.db.query.example.findMany()
      }),

    You cannot choose the two options in the same app.

Patch Changes

Don't miss a new create-t3-app release

NewReleases is sending notifications on new releases.