Skip to content

Commit

Permalink
docs: note about bigint type being mapped to a string (typeorm#5730)
Browse files Browse the repository at this point in the history
  • Loading branch information
golergka authored and Svetlozar committed Jan 12, 2021
1 parent 61a5f7e commit 7db84d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ or
@Column({ type: "int", width: 200 })
```

> Note about `bigint` type: `bigint` column type, used in SQL databases, doesn't fit into the regular `number` type and maps property to a `string` instead.
### Column types for `mysql` / `mariadb`

`bit`, `int`, `integer`, `tinyint`, `smallint`, `mediumint`, `bigint`, `float`, `double`,
Expand Down

0 comments on commit 7db84d8

Please sign in to comment.