aether-orm

v0.8.4 • by Database Innovators

A modern ORM for Swalang that supports PostgreSQL, MySQL, and SQLite.

Installation

$ swalang install aether-orm

Documentation

Aether ORM

Interact with your database using Swalang objects.

Usage

import { User } from 'models';

async func findUser(id) {
  // Finds a user by their ID
  const user = await User.findById(id);
  return user;
}