typeorm
typeorm copied to clipboard
ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
## Issue Description We have a model where the @UpdateDateColumn() decorator is set ``` Entity('users') export class User { @BeforeUpdate() CreateUUID?() { if (this.uuid === undefined || this.uuid === "")...
## Issue Description We use newtype to define types of model properties. ```typescript export type UserIDType = string & { readonly userID: unique symbol; }; @Entity({ name: 'user', schema: DB_SCHEMA...
## Feature Description In single table inheritance - the ability to change the type of an inheriting entity instance to a different inheriting entity type. ### The Problem When the...
**Issue type:** [ ] question [x] bug report [ ] feature request [ ] documentation issue **Database system/driver:** [ ] `cordova` [ ] `mongodb` [ ] `mssql` [ ] `mysql`...
### Description of change [cockroachdb supports enums](https://www.cockroachlabs.com/docs/stable/data-types.html#supported-types) - but it is not listed as an supported type in `src/driver/cockroachdb/CockroachDriver.ts` ### Features - [x] Support for enum types - [x] Support...
## Feature Description During development / testing it's often convenient to test against a small local database, e.g. SQLite. However, the current implementation of SQLite within TypeORM doesn't support often...
Having an abstract base class for models: ``` import {Column} from 'typeorm'; abstract class Model { @Column({primary: true, generated: 'uuid'}) id?: string; } ``` This code compiles (although it probably...
**Issue type:** [X] question [ ] bug report [ ] feature request [ ] documentation issue **Database system/driver:** [ ] `cordova` [ ] `mongodb` [ ] `mssql` [ ] `mysql`...
Issue type: [x] question [ ] bug report [ ] feature request [ ] documentation issue Database system/driver: [ ] cordova [ ] mongodb [ ] mssql [ ] mysql...
What is the procedure to delete a node of tree in tree-entities its not mentioned plus their is a mistake const a1 = new Category("a1") here Category accepts no arguments...