wulfy-orm
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

Wulfy ORM

Installation

Install Wulfy-ORM

npm i wulfy-orm

And needed driver

npm i wulfy-postgres-driver

Usage

Init Wulfy-ORM

import WulfyORM from "wulfy-orm";
import PostgresDriver from "wulfy-postgres-driver";

WulfyORM.init(new PostgresDriver("postgres://..."));

Drivers

Roadmap

Languages

  • [x] TypeScript
  • [ ] JavaScript

CRUD

  • [x] Create
  • [x] Read
  • [x] Update
  • [x] Delete

Features

  • [x] Lazy loading
  • [ ] DataTypes
    • [x] Number
      • [x] UNSIGNED
      • [x] INTEGER
      • [x] BIGINT
      • [x] FLOAT
    • [x] Text
      • [x] Char
      • [x] Varchar
    • [x] Boolean
    • [x] Date
    • [x] Range
    • [x] Array
  • [ ] Operators
    • [x] IS
    • [x] Logic
      • [x] AND
      • [x] OR
      • [x] NOT
    • [ ] Compare
      • [x] EQ
      • [x] NOT_EQ
      • [x] LT
      • [x] LT_EQ
      • [x] GT
      • [x] GT_EQ
      • [ ] Maybe more
    • [ ] Math
      • [ ] plus (+)
      • [ ] minus (-)
      • [ ] div (/)
      • [ ] mult (*)
      • [ ] Maybe more
  • [ ] Associations
    • [x] OneToMany
    • [x] ManyToOne
    • [ ] ManyToMany
    • [ ] OneToOne
    • [ ] ON UPDATE
    • [ ] ON DELETE
  • [ ] Functions
  • [ ] Aggregate
  • [ ] Sync Tables
  • [ ] Migrations (?)

Readme

Keywords

none

Package Sidebar

Install

npm i wulfy-orm

Weekly Downloads

1

Version

0.1.7

License

MIT

Unpacked Size

50 kB

Total Files

59

Last publish

Collaborators

  • 80lk