Skip to content

Introduction

Loxia is a modern, fast and lightweight Object-Relational Mapping (ORM) library for Dart, designed to simplify database interactions and management of data models. It supports SQLite and PostgreSQL databases, providing a seamless experience for developers working with relational data in their Dart applications.

Motivation

Building backend applications often involves complex database interactions and management of data models. Loxia aims to simplify these tasks by providing a lightweight and flexible ORM that leverages Dart's type system for safer database operations. With Loxia, developers can focus on building their applications without worrying about the intricacies of database management.

Together with the other packages of Avesbox, Loxia aims to provide a complete ecosystem for building web applications in Dart.

Installation

To get started with Loxia, add it to your pubspec.yaml file:

yaml
dependencies:
  loxia: ^0.0.1

Then, run dart pub get to install the package.

Import Loxia in your Dart code:

dart
import 'package:loxia/loxia.dart';

© 2025 Francesco Vallone. Built with 💙 and Dart 🎯 | One of the 🐤 of Avesbox.