TypeORM

ORM that works in Typescript.

Usage

ORM development is in progress. Readme and documentations expected to be soon.

Samples

Take a look on samples in ./sample for more examples of usages.

Todos

  • add partial selection support
  • in query builder should we use property names or table names? (right now its mixed)
  • should all entities have a primary column?
  • think about indices
  • think more about cascades
  • add cascadePersist to cascades?
  • naming strategy need to be done correctly
  • fix all propertyName/tableName problems and make sure everything work correctly
  • check column types, make validation there
  • foreign keys for relations
  • what happens if owner one-to-one on both sides
  • check self referencing
  • class lifecycle callbacks?
  • array / json / date column types
  • exceptions everywhere!
  • added ability to load only ids of the relation (similar to loading only single id)
Description
ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Readme MIT 120 MiB
Languages
TypeScript 99.8%
JavaScript 0.2%