Where should I start?
I’m considering using Drizzle on an existing project, but I would like to start with a simple, greenfield project to try it out.
In the docs, should I start in the Manage Schema section or Get Started section?
In Get Started, how does the migrate function work exactly in the PostgresJS example? For trial purposes, I just want to create a new database.
1 Reply
Hello, @cquill! It would be better to start with
Get Started
section, there you will find example how to set up connection your database, then you can continue with Manage Schema
section to declare schema.
Then you can read Migrations
section to understand how to generate and run migrations with drizzle.
In Get Started
section with PostgresJS
example migrate function just run migrations that you have already generated.Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.