Skip to main content

Database

Introduction

To start using a database engine with CairJS, you will need to install the necessary package.

Currently the CairJS framework is compatible with Prisma, a powerful ORM that currently has support for 3 types of databases (MySQL, PostgreSQL & SQLite), to learn more about Prisma you can visit its official website.

Install Package

npm install @cairjs/database @prisma/client @prisma/cli