This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c6cfe5
commit d0fe49b
Showing
14 changed files
with
333 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
import { Entity, PrimaryColumn, Column } from "typeorm"; | ||
|
||
@Entity("Post") | ||
export class Post { | ||
|
||
@PrimaryColumn() | ||
id: number; | ||
|
||
@Column() | ||
name: string; | ||
|
||
@Column("char") | ||
char: string; | ||
|
||
@Column("nchar") | ||
nchar: string; | ||
|
||
@Column("nvarchar2") | ||
nvarchar2: string; | ||
|
||
@Column("varchar2") | ||
varchar2: string; | ||
|
||
@Column("long") | ||
long: string; | ||
|
||
@Column("raw") | ||
raw: Buffer; | ||
|
||
// @Column("long raw") | ||
// long_raw: Buffer; | ||
|
||
@Column("number") | ||
number: number; | ||
|
||
@Column("numeric") | ||
numeric: number; | ||
|
||
@Column("float") | ||
float: number; | ||
|
||
@Column("dec") | ||
dec: number; | ||
|
||
@Column("decimal") | ||
decimal: number; | ||
|
||
@Column("integer") | ||
integer: number; | ||
|
||
@Column("int") | ||
int: number; | ||
|
||
@Column("smallint") | ||
smallint: number; | ||
|
||
@Column("real") | ||
real: number; | ||
|
||
@Column("double precision") | ||
double_precision: number; | ||
|
||
@Column("date") | ||
date: Date; | ||
|
||
@Column("timestamp") | ||
timestamp: Date; | ||
|
||
@Column("timestamp with time zone") | ||
timestamp_with_time_zone: Date; | ||
|
||
@Column("timestamp with local time zone") | ||
timestamp_with_local_time_zone: Date; | ||
|
||
@Column("interval year to month") | ||
interval_year_to_month: string; | ||
|
||
@Column("interval day to second") | ||
interval_day_to_second: string; | ||
|
||
@Column("bfile") | ||
bfile: Buffer; | ||
|
||
@Column("blob") | ||
blob: Buffer; | ||
|
||
@Column("clob") | ||
clob: string; | ||
|
||
@Column("nclob") | ||
nclob: string; | ||
|
||
@Column("rowid") | ||
rowid: number; | ||
|
||
@Column("urowid") | ||
urowid: number; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters