-
So i want to use momentjs instead of Date for my records and this is how I was able to get it typeorm to work:
```typescript
@BeforeInsert() _setDt() {this.date = this.date.toDate() as any}
…
-
**Issue type:**
[*] question
[ ] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[ ] `mssql`
[*] `mysql` / `mariadb`
[ ] …
-
I'm using this generic type which I believe is a good fit for ts-essentials:
```ts
export type PickRequired = { [P in K]-?: T[P] }
```
**UPDATE 10.06.2019: The suggested implementation is not …
-
**Issue type:**
[x] bug report
**Database system/driver:**
[x] `postgres`
**TypeORM version:**
[x] `0.2.7` (or put your version here)
**Steps to reproduce or a small repository showing the…
-
**Issue type:**
[ x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[ ] `mssql`
[ ] `mysql` / `mariadb`
[ ] `…
-
**Issue type:**
[ ] question
[X] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[ ] `mssql`
[ ] `mysql` / `mariadb`
[ ] …
-
When the entity has a foreign key, the generator creates a property for the foreign table as an entity, and then leaves out the id field which keyed to the foreign entity.
There should be an option t…
-
**Issue type:**
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[x] `mssql`
[ ] `mysql` / `mariadb`
[ ] …
-
we use `ormconfig.ts` because it is most flexible for configuration `TypeOrm`
`npx fixtures -c ormconfig.ts database/fixtures`
output
```
Fail fixture loading: Unexpected token {
(node:32337) Unh…
-
**Issue type:**
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
**Database system/driver:**
[ ] `cordova`
[ ] `mongodb`
[x] `mssql`
[ ] `mysql` / `mariadb`
[ ] …
vance updated
5 years ago