mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: updated id to _id (#10584)
This commit is contained in:
parent
8b4df5b299
commit
7ecc8f3536
@ -25,7 +25,7 @@ import { Entity, ObjectId, ObjectIdColumn, Column } from "typeorm"
|
||||
@Entity()
|
||||
export class User {
|
||||
@ObjectIdColumn()
|
||||
id: ObjectId
|
||||
_id: ObjectId
|
||||
|
||||
@Column()
|
||||
firstName: string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user