Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update typeorm fork #1

Merged
merged 755 commits into from
May 22, 2020
Merged
Changes from 1 commit
Commits
Show all changes
755 commits
Select commit Hold shift + click to select a range
e81a77a
chore: bump lodash.template from 4.4.0 to 4.5.0 (#4416)
dependabot[bot] Aug 30, 2019
10bac1f
build: bump mixin-deep from 1.3.1 to 1.3.2 (#4648)
dependabot[bot] Aug 30, 2019
4c2bffc
chore: bump lodash from 4.17.11 to 4.17.15 (#4671)
dependabot[bot] Aug 30, 2019
d4e2443
docs: update typeorm-model-shim.js comment link (#4540)
kateile Aug 31, 2019
3951b58
docs: fix missing async (#4458)
davidpodhola Aug 31, 2019
e589fda
feat: export additional schema builder classes (#4325)
michaeldzjap Sep 3, 2019
690e6f5
fix: "database" option error in driver when use "url" option for conn…
CavidM Sep 5, 2019
92e4270
feat: add mongodb `useUnifiedTopology` config parameter (#4684)
ruscon Sep 5, 2019
5bd29d5
docs: update many-to-many-relations.md, make it easier to understand …
QoVoQ Sep 5, 2019
2478198
docs: remove duplicate segment in entities.md (#4638)
xiaojianzhong Sep 5, 2019
c1406bb
docs: documentation for showMigrations() (#4644)
kevindashgit Sep 5, 2019
445c740
fix: apostrophe in Postgres enum strings breaks query (#4631)
duckies Sep 5, 2019
f65ecc7
docs: grammar and wording fixes in active-record-data-mapper.md (#4615)
Sep 5, 2019
a925be9
feat: add postgres pool error handler (#4474)
Ginden Sep 5, 2019
587d534
use remove in stead of delete (#4574)
thomasgieling Sep 5, 2019
9e3d664
docs: clarify title of configuration sources (#4592)
mguida22 Sep 5, 2019
3cf470d
fix: change PrimaryColumn decorator to clone passed options (#4571)
sthuck Sep 5, 2019
5c311ed
feat: add options to input init config for sql.js (#4560)
DavidChen-minted Sep 5, 2019
19e2179
feat: add `set` datatype support for MySQL/MariaDB (#4538)
hauau Sep 5, 2019
db8074a
feat: add support for ON CONFLICT for cockroach (#4518)
HNicolas Sep 5, 2019
dacac83
feat: add materialized View support for Postgres (#4478)
Ginden Sep 5, 2019
7a0beed
fix: the excessive stack depth comparing types `FindConditions<?>` an…
mophy Sep 5, 2019
7808bba
feat: UpdateResult returns affected rows in postgresql (#4432)
j6lim Sep 5, 2019
81f4b43
docs: added missing comma in relations.md (#4739)
thezanke Sep 13, 2019
1d73a90
fix: createQueryBuilder relation remove works only if using ID (#2632…
iMobs Sep 13, 2019
c52b3d2
fix: views generating broken Migrations (#4726)
evgeniytar Sep 13, 2019
644c21b
docs: explicitly defining the optional nature of the ManyToOne and On…
DavidTheProgrammer Sep 13, 2019
3abe5b9
fix: "hstore injection" & properly handle NULL, empty string, backsla…
tobyhinloopen Sep 13, 2019
0094f61
feat: add referenced table metadata to NamingStrategy to resolve fore…
tkvw Sep 13, 2019
d8f1c81
fix: sqlite connections don't ignore the schema property (#4599)
roman-acumen Sep 13, 2019
ae1f131
version bump
pleerock Sep 13, 2019
13ac222
updated changelog
pleerock Sep 13, 2019
a3b2ee0
Update README.md
pleerock Sep 27, 2019
ee61c51
fix(aurora): apply mysql query fixes to aurora (#4779)
ArsenyYankovsky Oct 3, 2019
fbb8947
fix: loading of aurora-data-api driver (#4765)
ArsenyYankovsky Oct 3, 2019
1302cb9
docs: don't await .merge in example with express (#4860)
mguida22 Oct 7, 2019
488d210
docs: typo in MysqlConnectionOptions.ts (#4870)
0xflotus Oct 8, 2019
58ac18a
docs: fix typo in README (#4889)
Oct 12, 2019
652a20e
fix: allow EntitySchema to be passed to EntityRepository (#4884)
da-mkay Oct 12, 2019
7882ec5
docs: fix typo in JoinAttribute.ts (#4879)
PW486 Oct 12, 2019
154a441
feat: add support for cube array for PostgreSQL (#4848)
marlenekoh Oct 13, 2019
df5479b
fix: broken database option when using replication, changes introduce…
Oct 13, 2019
149af26
fix: Slack invite URL (#4836)
bmax Oct 13, 2019
2bb0e39
docs: fix broken link (#4834)
blackpr Oct 13, 2019
336bfb6
docs: clarify comments on many-to-many sample (#4912)
mguida22 Oct 18, 2019
13f06bf
docs: fix typo in code comment (#4900)
fatihky Oct 18, 2019
d744966
fix(postgres): postgres query runner to create materialized view (#4877)
JackCuthbert Oct 18, 2019
4a73fde
feat: add name to MigrationInterface (fixes #3933 and fixes #2549) (#…
leonardofalk Oct 18, 2019
fdab1b1
docs: remove readme file executable rights (#4845)
jougene Oct 18, 2019
ea17094
fix: ensure distinct property is respected cloning query builder (#4843)
swim Oct 18, 2019
d967180
feat: add option to Column to specify the complete enumName (#4824)
ejose19 Oct 18, 2019
c30b485
fix: check for version of MariaDB before extracting COLUMN_DEFAULT (#…
jeremija Oct 18, 2019
7962036
fix: connection Reuse is broken in a Lambda environment: (#4804)
phong-innomizetech Oct 18, 2019
29b08c0
docs: deleted additional backtick (#4802)
rewebcan Oct 18, 2019
f79aec1
docs: link Active Record and Data Mapper to appropriate writeup about…
jayarjo Oct 18, 2019
f392f89
docs: fix many-to-one-one-to-many-relations.md example (#4770)
ohjeyong Oct 18, 2019
0a13e6a
fix: better timestamp comparison (#4769)
silentroach Oct 18, 2019
fccbe3e
fix: mongodb Cursor.forEach types (#4759)
ruscon Oct 18, 2019
4a62b1c
fix: FindOptionUtils export (#4746)
nokiiam Oct 18, 2019
2f27581
fix: migrations run in reverse order for mongodb (#4702)
RecuencoJones Oct 18, 2019
c1342ad
feat: implements Sqlite 'WITHOUT ROWID' table modifier (#4688)
bnegrao Oct 18, 2019
848fb1f
feat: add new transaction mode to wrap each migration in transaction …
nlenepveu Oct 18, 2019
d2fa245
version bump
pleerock Oct 18, 2019
d205574
fix: resolve MySQL unique index check when bigNumberStrings is false …
SteveByerly Oct 18, 2019
3e4dc9f
fix: throwing error on duplicate migration names #4701 (#4704)
jurasan Oct 19, 2019
e42091e
docs: README.md active-record-data-map link missing issue (#4928)
calebx Oct 19, 2019
0d94c9e
docs: explain cascade options (#4945)
mguida22 Oct 22, 2019
112da1a
docs: add info on deleting a many-to-many relation (#4944)
mguida22 Oct 22, 2019
540ce3d
docs: decorator Reference Documentation | line 254 (#4943)
carlocorradini Oct 22, 2019
09b7ad3
docs: fix typo in `zh_CN` logging chapter (#5021)
twohappy Nov 4, 2019
7f87f0c
fix: upgrade app-root-path (#5023)
BlackDark Nov 4, 2019
633a986
docs: changing wrong description in connection-api (#5020)
rhogeranacleto Nov 4, 2019
d05467c
fix: allow expireAfterSeconds 0 in Index decorator (close #5004) (#5005)
enten Nov 4, 2019
c87e4e7
docs: remove unneeded parentheses (#4957)
martinsantibanez Nov 4, 2019
b141a91
docs: changed getManager to getRepository (#5099)
PedramMarandi Nov 21, 2019
014c7c3
docs: fix README link to docs (#5065)
calebx Nov 21, 2019
0a809ac
docs: fix save and remove chunk option comments (#5055)
linchen2chris Nov 22, 2019
cb771a1
fix: resolve sorting bug for several mongo vesions with typeorm migra…
Nov 22, 2019
1047989
fix: do not mutate connection options (#5078)
silentroach Nov 22, 2019
f0fd192
fix: repo for app-root-path in lock file (#5052)
BlackDark Nov 22, 2019
f9fdaee
feat: asynchronous ormconfig support (#5048)
StevenGBrown Nov 22, 2019
8f4f908
feat: export Migration Execution API from main package (fixes #4880) …
leonardofalk Nov 22, 2019
c0c8566
fix: unescaped column name in order clause of "migrations" (#5108)
gerwinbrunner Nov 22, 2019
edbb80e
test: add test case for zero-arity cubes (#4844)
liaujianjie Nov 22, 2019
231dadf
feat: support spatial types of MySQL 8+ (#4794)
jeiea Nov 22, 2019
1293065
feat: add distinct on() support for postgres (#4954)
swim Nov 22, 2019
32bc0ea
docs: circular dependency error message (#5133)
glentakahashi Nov 24, 2019
aff2f56
fix: mysql driver query streaming (#5036)
constb Nov 24, 2019
ce7ee67
docs: add some usages of Advanced Options in find() (#5140)
JanecineJohn Nov 25, 2019
ce7cb16
fix: remove consrc usage (postgres,cockroachdb) (#4333)
luzat Nov 25, 2019
7160749
docs: update mongodb.md (#5146)
lcswillems Nov 26, 2019
fb60688
feat: add migrations transaction option to connection options (#5147)
mightyYaroslav Nov 27, 2019
34ef29a
docs: update select-query-builder.md (#5181)
Znonymous29 Dec 5, 2019
04b4f3e
docs: add note about inability to update/remove parent (#5179)
dhruska Dec 5, 2019
85bc1c8
version bump
pleerock Dec 5, 2019
0419d77
updated changelog
pleerock Dec 5, 2019
0872430
docs: update faq.md (#5241)
arfaWong Dec 20, 2019
3c3ec34
docs: array initializers should be avoided (#5233)
thecatontheflat Dec 20, 2019
edc8e6d
feat: hash aliases to avoid conflicts (#5227)
papermana Dec 20, 2019
3e58426
feat: implement driver options for NativeScript (#5217)
jerbob92 Dec 20, 2019
2e628c3
feat: speed ​​up id search in buildChildrenEntityTree (#5202)
SoraKumo001 Dec 20, 2019
cacb08b
fix: use a prefix on SelectQueryBuilder internal parameters (#5178)
cuchi Dec 20, 2019
d19162c
Bugfix lazy relation assignment (#4913)
bogdan Dec 20, 2019
ec90341
feat: SAP Hana support (#5246)
pleerock Dec 23, 2019
7d519af
version bump
pleerock Dec 23, 2019
39057ca
updated changelog
pleerock Dec 23, 2019
b380a7f
fix: use sha.js instead of crypto for hash calculation (#5270)
nochkin Jan 2, 2020
90b4065
chore: update node versions tested on travis (#5273)
Kononnable Jan 2, 2020
2baa934
fix: fk on update should not use attributes of on delete
Szbuli Jan 14, 2020
3fd128a
int should be normalized to integer
Szbuli Jan 15, 2020
b2412e3
for default values only put single quotation mark around text types, …
Szbuli Jan 15, 2020
4481143
correctly read and create full text indeces
Szbuli Jan 15, 2020
d892714
There is no "default null" in HANA (default null in HANA means that t…
Szbuli Jan 15, 2020
284f427
There is no "default null" in HANA (default null in HANA means that t…
Szbuli Jan 15, 2020
96688ab
update license year to 2020 (#5354)
justjavac Jan 16, 2020
83f0ef3
docs: update repository-api.md (#5344)
pc3b3r Jan 16, 2020
53fa7b2
fix hana port
Szbuli Jan 16, 2020
e91010b
set travis tests
Szbuli Jan 16, 2020
90c39c4
Revert "set travis tests"
Szbuli Jan 17, 2020
ec063b8
add sap hana driver to circle ci
Szbuli Jan 17, 2020
ee75c44
testing CI PR build
pleerock Jan 18, 2020
00c9f4b
docs: fix typo (#5376)
gillescoolen Jan 18, 2020
c1c4b06
fix yml format errors
Szbuli Jan 20, 2020
0cfa986
Merge branch 'sap_fk_on_update_bug' of https://github.com/zooshgroup/…
Szbuli Jan 20, 2020
da4dcec
circli re enable auth
Szbuli Jan 20, 2020
6bac3ca
fix: use OUTPUT INTO on SqlServer for returning columns (#5361)
sgarner Jan 21, 2020
f280023
docs: update faq.md (#5379)
dmlukichev Jan 21, 2020
8f4f71d
test circleCI
Szbuli Jan 21, 2020
91fdcea
wait for hana to start
Szbuli Jan 21, 2020
94cd98e
wait for hana to start
Szbuli Jan 21, 2020
4c8ec25
docs: update many-to-one-one-to-many-relations.md (#5325)
heiye9 Jan 22, 2020
2d3ad50
chore: MSSQL, Cockroachdb, Oracle tests on CI (#5293)
Kononnable Jan 22, 2020
0f51836
fix: change OrmUtils.mergeDeep to not merge RegExp objects (#5182)
tobyhinloopen Jan 22, 2020
10bcc82
docs: preload doc in repository (#5221)
bobo-le Jan 22, 2020
9da0d34
fix: load typeorm-aurora-data-api-driver correctly when using webpack…
coyoteecd Jan 22, 2020
40e9d3a
fix: Oracle sql expression for date column (#5305)
rjmohammad Jan 22, 2020
072c7d7
docs: update entity-manager-api.md (#5340)
DixCouleur Jan 22, 2020
dd73395
feat: add fulltext parser option (#5380)
bizen241 Jan 22, 2020
6c6bde7
feat: Add basic support for custom cache providers (#5309)
justblender Jan 22, 2020
21e0347
revert hana circleci
Szbuli Jan 23, 2020
78418b1
change to hdb pool
Szbuli Jan 24, 2020
c9b1258
add more pool parameters
Szbuli Jan 24, 2020
b566ae8
fix lint errors
Szbuli Jan 24, 2020
df8d3f3
update docs
Szbuli Jan 27, 2020
41fc60f
fix: SAP HANA driver fixes (#5343)
pleerock Jan 28, 2020
8c67682
chore: disable circleci failing dbs
Kononnable Feb 1, 2020
1b98949
doc: mention subscribers connection option in listeners and subscribe…
Juddling Feb 13, 2020
bfa68a5
docs: clarify how cascade option works (#5502)
intelliot Feb 13, 2020
bbbf07b
delete single quote from "'age' +1" (#5500)
bcking92 Feb 13, 2020
b775919
docs: you can explicitly specify a column type (#5492)
intelliot Feb 13, 2020
e3be9e3
Revert "fix: connection Reuse is broken in a Lambda environment: (#48…
0xMillz Feb 13, 2020
87b161f
fix: SAP HANA driver fixes (#5445)
Szbuli Feb 13, 2020
9fc8329
fix: bug when default value in mssql were not updated if previous def…
pleerock Feb 13, 2020
1826b75
fix: Return NULL when normalize default null value (#5517)
thefat32 Feb 14, 2020
ceff897
fix: (base-entity) set create return type to T[] (#5400)
merceyz Feb 14, 2020
e3c78c1
fix: .synchronize() drops json column on mariadb (#5391)
creduo Feb 14, 2020
7157cb3
fix: update foreign keys when table name changes (#5482)
osdiab Feb 14, 2020
26ce6bc
docs: update many to many relations with custom properties (#5529)
econdie Feb 17, 2020
d19dbc6
fix: add the enableArithAbort option to the sql server connection opt…
mwiedmann Feb 17, 2020
ee57557
fix: not to make typeorm generate alter query on geometry column when…
ohjeyong Feb 17, 2020
1e1595e
fix: refactoring instance of with Array.isArray() (#5539)
naidishuli Feb 17, 2020
3a9c4e0
fixing #5516
pleerock Feb 17, 2020
4770cc9
fixed down query
pleerock Feb 17, 2020
7a6976d
feat: added generic type on `getRawOne`, `getRawMany` `getRawAndEntit…
Feb 17, 2020
1b81d9d
refactor: columnName method simplified (#5461)
muratcorlu Feb 17, 2020
ede779d
docs: Better definition for case functions (#5460)
muratcorlu Feb 17, 2020
05cad88
docs: update relations.md (#5456)
bluesh55 Feb 17, 2020
920bcfe
fix: entity object undefined in update subscriber (#5443)
RuntimeRascal Feb 17, 2020
9603ad2
docs: demostrate an IN Query (#5440)
Feb 17, 2020
40a8465
docs: fix incorrect "chunk" description (#5434)
JVMartin Feb 17, 2020
22d2841
fix: fixes simple-enum bug in sqlite (#5423)
leMaik Feb 17, 2020
1ae2a9f
fix: add driver option to address Expo API change. Fixes typeorm/type…
cuibonobo Feb 18, 2020
f9505c9
docs: very small typo fix (#5551)
jlvallelonga Feb 20, 2020
3227c0b
feat: soft delete (#5034)
iWinston Feb 25, 2020
e68bbd2
fix: save + null prototype object = Cannot convert object to primitiv…
zbessette Feb 25, 2020
f24bb04
fix: SAP HANA driver fixes (#5571)
Szbuli Feb 28, 2020
d9ac1ab
tips for using the test-fast script (#5582)
osdiab Feb 28, 2020
502c356
fix: change return type of migrations up/down (#5573)
tbrannam Feb 28, 2020
17a883f
0.2.23 release
pleerock Feb 28, 2020
4ed79c9
missed few changes from master, released 0.2.24
pleerock Feb 28, 2020
7fe8853
docs: fix links (#5583)
gabalafou Mar 2, 2020
adebcb1
docs: add documentation for specifying SQL Server instance name (#5586)
Grravey Mar 2, 2020
334e17e
fix: multiple assignments to same column on UPDATE #2651 (#5598)
pleerock Mar 2, 2020
86328d0
docs: add default value note for unique @Column option (#5599)
jlvallelonga Mar 2, 2020
b99b4ad
fix: replacing instanceof Array checks to Array.isArray because insta…
pleerock Mar 3, 2020
6cc1a78
chore: test all test cases
Kononnable Mar 6, 2020
f7052a3
Update ISSUE_TEMPLATE.md
Kononnable Mar 9, 2020
6e598c1
docs: added multi-column informations for JoinColumn (#5656)
PierreTurnbull Mar 11, 2020
0adbe5c
docs: update wasm usage (#5620)
pavinthan Mar 11, 2020
76e165d
feat: update cli migration up and down from any to void (#5630)
apiel Mar 11, 2020
17f2fff
feat: UpdateResult returns affected rows in mysql (#5628)
weeix Mar 11, 2020
685d76b
chore(deps): bump acorn from 5.7.3 to 5.7.4 (#5679)
dependabot[bot] Mar 13, 2020
b77f520
docs: Update DEVELOPER.md (#5768)
dhritzkiv Mar 27, 2020
50a0641
fix: handle URL objects as column field values (#5771)
dhritzkiv Mar 27, 2020
0aba8a2
docs: fixed `sql` to `query` in the last example (#5753)
tejovanthWork Mar 27, 2020
edeb561
fix: update dependency mkdirp to 1.x (#5748)
urdeveloper Mar 27, 2020
442bff9
docs: typo fix (#5739)
sliuqin Mar 27, 2020
5b50f47
docs: added soft-delete documentation (#5862)
artoodeeto Apr 12, 2020
5a2eb30
feat: create-column, update-column, version-column column kinds now s…
pleerock Apr 13, 2020
aa28e2b
docs: fix readme wording (#5842)
artemnih Apr 13, 2020
e92c743
docs: fix raw query (#5845)
stefan-malcek Apr 13, 2020
61d59ca
fix: expo sqlite driver disconnect() (#6027)
allandiego May 15, 2020
826ed36
docs: fix typeorm alias for TS (#6045)
JSteunou May 15, 2020
08cc076
docs: update image.json (#6015)
beqa7137 May 15, 2020
8e0d817
fix: use an empty string enum as the type of a primary key column (#6…
BTOdell May 15, 2020
5fc802d
fix: escape column comment in mysql driver (#6056)
BTOdell May 15, 2020
52a5619
docs: add @DeleteDateColumn to special columns docs (#6016)
rednebmas May 16, 2020
0acedda
docs: update env variables listing (#6007)
Andreyco May 16, 2020
53d92ba
docs: fix grammar for ormconfig error (#6001)
vegerot May 16, 2020
37fd946
docs: fix select query builder link (#5980)
vuki656 May 16, 2020
360122f
feat: add FOR NO KEY UPDATE lock mode for postgresql (#5971)
ohjeyong May 16, 2020
3cfcc50
feat: add name option to view column (#5962)
dsbert May 16, 2020
4ef0bce
docs: fix grammatical error (lets => let's) (#5954)
patrickhpan May 16, 2020
2fd0a8a
fix: HANA - SSL options, column delta detection mechanism (#5938)
elsbrock May 16, 2020
87cc6f4
fix: insert and update query builder to handle mssql geometry column …
waikuen2010 May 16, 2020
665b83c
refactor: refactor deprecated new Buffer to Buffer.from (#5924)
kaznovac May 16, 2020
90d31a0
docs: update connection-options.md (#5902)
tareqdayya May 16, 2020
2c90e1c
feat: added support for NOWAIT & SKIP LOCKED in Postgres (#5927)
Nopik May 16, 2020
2ab88c2
fix: use correct typings for the result of `getUpsertedIds()` (#5878)
jessepinho May 16, 2020
e584297
feat: Aurora Data API - Postgres Support (#5651)
ArsenyYankovsky May 16, 2020
9d2b8e0
feat: Add soft remove and recover methods to entity (#5854)
jannostern May 16, 2020
a0feabc
docs: missing word in docs (#5793)
scadgek May 16, 2020
416e419
fix: migrations being generated for FK even if there are no changes (…
zaro May 16, 2020
327144a
fix: wrong table name parameter when not using default schema (#5801)
igoraguiar May 16, 2020
c6cbddc
fix: prevent TypeError when calling bind function with sql.js 1.2.X (…
fb64 May 16, 2020
9874227
docs: fix many-to-many example table (#5717)
mmKALLL May 16, 2020
8ac5d5d
docs: add the missing text in the sentence (#5736)
klevamane May 16, 2020
1829f96
feat: aurora Data API - Support for AWS configuration options through…
cklam2 May 16, 2020
7d8a1ca
fix: update Entity decorator return type to ClassDecorator (#5776)
GrayStrider May 16, 2020
f8c52f3
fix: calling EntityManager.insert() with an empty array of entities (…
May 16, 2020
8c3f48a
fix: sha.js import (#5728)
guybedford May 16, 2020
6a6cc7b
docs: note about bigint type being mapped to a string (#5730)
golergka May 16, 2020
c5a22f5
docs: added enumName property (#5731)
golergka May 16, 2020
ec3be41
feat: names of extra columns for specific tree types moved to NamingS…
steerio May 16, 2020
2066734
docs: update FindOneOptions lock property comment (#5701)
Koronen May 16, 2020
265d1ae
feat: PG allow providing a function for password (#5673)
robbiet480 May 16, 2020
d5cde49
fix: redundant undefined parameters are not generated in migration fi…
olegmdev May 16, 2020
9e8a8cf
fix: provide a default empty array for parameters. (#5677)
graham- May 16, 2020
ed75d59
fix: respect database from connection urls (#5640)
ant45de May 16, 2020
3dc9ffd
docs: documentation for "-c" connection option (#6080)
mateusppereira May 18, 2020
215f106
fix: Unknown fields are stripped from WHERE clause (issue #3416) (#5603)
johannessjoberg May 18, 2020
4ef6b65
fix: columns with transformer should be normalized for update (#5700)
shayded-exe May 18, 2020
a9bdb37
perf: Optimized version of EntityMetadata#compareIds() for the common…
njam May 18, 2020
8977365
fix: 'in' clause case for ORACLE (#5345)
gerwinbrunner May 18, 2020
7093801
docs: fix typo (#6083)
dolsup May 18, 2020
69d3e06
removed .only
pleerock May 18, 2020
d7256c7
docs: updated link to TS node (#6090)
jpbulman May 18, 2020
9c4207e
fixed sap issue with dates
pleerock May 19, 2020
db9d0fa
fix: prototype pollution issue (#6096)
pleerock May 19, 2020
eaadf20
version bump
pleerock May 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update many-to-one-one-to-many-relations.md (typeorm#5325)
修改ManyToOne的错误和语句不通顺的问题。
heiye9 authored and pleerock committed Jan 22, 2020
commit 4c8ec25c8b4fc67a13f0331409b5ea337c6aad8c
6 changes: 3 additions & 3 deletions docs/zh_CN/many-to-one-one-to-many-relations.md
Original file line number Diff line number Diff line change
@@ -38,9 +38,9 @@ export class User {
}
```

这里我们将`@ManyToOne`添加到`photos`属性中,并将目标关系类型指定为`Photo`
你也可以在`@ManyToOne` /`@OneToMany`关系中省略`@JoinColumn`
没有`@ManyToOne``@OneToMany`就不可能存在
这里我们将`@OneToMany`添加到`photos`属性中,并将目标关系类型指定为`Photo`
你可以在`@ManyToOne` / `@OneToMany`关系中省略`@JoinColumn`,除非你需要自定义关联列在数据库中的名称
`@ManyToOne`可以单独使用,但`@OneToMany`必须搭配`@ManyToOne`使用
如果你想使用`@OneToMany`,则需要`@ManyToOne`
在你设置`@ManyToOne`的地方,相关实体将有"关联 id"和外键。