@Column({ nullable: true })
Test: number | string;
Why is the above returning an object? The data type can be either string or number.
Thanks
@Column({ nullable: true })
Test: number | string;
Why is the above returning an object? The data type can be either string or number.
Thanks
@Column({ type: 'character varying' || 'integer', nullable: true })
Test: number | string;
The above made it work.