/drizzle-demo

Projeto para demonstração do framework ORM Drizzle com TS.

Primary LanguageTypeScript

Drizzle ORM Demo

This project implements a basic example of Drizzle ORM with MySQL.

Drizzle is an ORM library to manage several databases, as Postgre, MySQL, SQLite, etc.

This example connects with a local MySQL database and get all data of a table.

The library defined the model with the mysqlTable() function and call the select() function from the connection instance.

The result is showed in the console.

Obs.: Don't forget to change the database connection data.