Skip to content

Introduction

The @laratype/database package provides a powerful and flexible ORM (Object-Relational Mapping) that helps you interact with the database easily and efficiently in your Laratype application.

Installation

To use the features provided by @laratype/database, install the package first:

sh
$ npm install @laratype/database
sh
$ pnpm add @laratype/database
sh
$ bun add @laratype/database

Configuration

You can edit the database configuration in the config/config.ts file.