575 Commits

Author SHA1 Message Date
James Ward
9750e3842c
doc: use CircleCI for CI badge (#6516)
* use CircleCI for CI badge

Updates the badge to point at CircleCI for the passing / failing status

* doc: use circleci badge in README (zh_CN)

* doc: use circleci badge in readme in docs (zh_CN)

* doc: use circleci badge under index in docs (zh_CN)
2020-08-07 13:55:13 +05:00
Izzuddin Ahsanujunda
f270c0bbaf
docs: remove out-of-place 'example:' (#6468)
* modify docs/relational-query-builder.md
2020-08-02 19:35:35 +05:00
Thomas Sawkins
43a7386719
feat: implement postgres ltree (#6480)
This new feature implements support for the postgres extension ltree

Closes: #4193
2020-08-02 19:34:01 +05:00
Nathan Lapierre
cc23ba2dd9
docs: fix grammatical error (#6458) 2020-07-24 19:41:17 +03:00
K024
22414510f9
feat: add better-sqlite3 driver (#6224)
* feat: better-sqlite3 driver which is significantly faster than node-sqlite3
* test: added all tests for sqlite to better-sqlite3
* test: "query runner > drop column" modified compatible
* docs: added better-sqlite3 related docs
2020-07-18 02:32:16 +03:00
Pouria Tajdivand
afc62fdfff
docs: Added one-to-one-relations.md & many-to-one-one-to-many-relations.md cascades link (#6406)
* docs: one-to-one-relations.md cascades link

* docs: many-to-one-one-to-many-relations.md cascades link
2020-07-16 14:55:29 +03:00
Fernando Moreira
c9f184e887
docs: update using-cli.md (#6407) 2020-07-16 14:54:30 +03:00
IAGO BRAYHAM
60711c2924
docs: Add advance subdocument query documentation (#6344)
Example for querying subdocuments and array of subdocuments
2020-07-07 00:29:22 +03:00
Rahul Soni
1bc56588be
docs: update relations-faq.md (#6355)
Grammatical error
2020-07-07 00:21:58 +03:00
Nipodemos
4073a8dafa
docs: fix markdown typo (#6359) 2020-07-07 00:21:31 +03:00
Mustapha Yusuff
1c09dc31f3
docs: replace body-parser with express built-in parser (#6257)
JSON body parser is now built-in by default (>4.16.0), hence no need for body-parser
2020-07-03 01:00:26 +03:00
Jack Wink
007214986e
feat: add postgres connection timeout option (#6160)
There was no documented way of setting a connection timeout for the
postgres driver. We recently ran into an issue with our network that
caused a container to hang indefinitely attempting to connect to
postgres.

We managed to resolve the issue by setting 'connectionTimeoutMillis' in
the 'extra' field of our connection options. This approach does not
appear to be documented anywhere.

Seeing that MongoDB and MySQL drivers both support a connection timeout
as part of the documented API, we felt it made sense to add a similar
option to the Postgres driver and hopefully avoid some headaches down
the road.

This commit adds a 'connectTimeoutMS' option to the postgres driver
that gets translated to the appropriate field for the pg library. It
also updates the documentation to reflect this new option.

Because the default behavior of the underlying pg library is to attempt
to connect indefinitely, we didn't feel like it was a safe change to
introduce a default timeout, even if that's more sane behavior.

As mentioned earlier, both the MySQL and MongoDB drivers support a
connection timeout option. MySQL uses 'connectTimeout' while MongoDB
uses 'connectTimeoutMS'. We went with 'connectTimeoutMS' as to not
introduce yet another name for a connection timeout, and because the
'MS' suffix makes it clearer what is expected.

We hope a future PR may adjust the MySQL connection options to adopt the
same name, but will leave that up to someone with a stronger opinion.
2020-06-06 23:39:59 +03:00
Mike MacCana
b4a29f4b38
docs: add a link to TypeORM website (#6143)
Weirdly search sent me here, and it took a while to find the real TypeORM website.
2020-05-27 21:07:36 +03:00
JP Bulman
d7256c710e
docs: updated link to TS node (#6090)
Previous URL returns a 404
2020-05-19 02:57:17 +03:00
Mateus Pereira
3dc9ffd075
docs: documentation for "-c" connection option (#6080)
Add documentantion for this https://github.com/typeorm/typeorm/issues/1333
2020-05-18 05:23:54 +03:00
golergka
c5a22f52af
docs: added enumName property (#5731)
Related to #5729
2020-05-16 19:18:20 +03:00
golergka
6a6cc7b90a
docs: note about bigint type being mapped to a string (#5730) 2020-05-16 19:17:54 +03:00
Richard Onengiye
8ac5d5de2a
docs: add the missing text in the sentence (#5736) 2020-05-16 18:35:32 +03:00
Esa Koskinen
9874227a7b
docs: fix many-to-many example table (#5717)
- include question entity text column, which is missing in the current docs
2020-05-16 18:35:11 +03:00
Serż Kwiatkowski
a0feabcd8c
docs: missing word in docs (#5793) 2020-05-16 18:01:35 +03:00
Kamil Burzynski
2c90e1c05f
feat: added support for NOWAIT & SKIP LOCKED in Postgres (#5927)
* Added support for NOWAIT & SKIP LOCKED in Postgres

* fix merge typo

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
2020-05-16 14:08:06 +03:00
Tareq Dayya
90d31a083a
docs: update connection-options.md (#5902)
The "entitySchemas" connection option doesn't work. Instead, schemas are recognized when added to the "entities" connection option. The docs were updated to reflect that.
2020-05-16 13:50:43 +03:00
Patrick Pan
4ef0bce074
docs: fix grammatical error (lets => let's) (#5954)
Change "lets" to "let's" in the sentence "since we have errors lets [sic] rollback changes we made".
2020-05-16 12:19:25 +03:00
Domagoj
37fd946670
docs: fix select query builder link (#5980) 2020-05-16 04:09:44 +03:00
Andrej Badin
0aceddacf8
docs: update env variables listing (#6007)
Some of listed variables are not used anymore, some were are missing.
List is extracted from src/connection/options-reader/ConnectionOptionsEnvReader.ts
2020-05-16 03:05:38 +03:00
Sam Bender
52a561966e
docs: add @DeleteDateColumn to special columns docs (#6016)
Mostly copied text from the decorator reference: https://github.com/typeorm/typeorm/blob/master/docs/decorator-reference.md#deletedatecolumn
2020-05-16 03:03:35 +03:00
Jérôme Steunou
826ed36b46
docs: fix typeorm alias for TS (#6045)
Just did not work with actual version of ts-node and others modules
2020-05-15 07:46:51 +03:00
Štefan Malček
e92c743fb5
docs: fix raw query (#5845)
The code examples assume many results (see a comment below in each example), but queries were filtered by user.id. Instead groupBy clausule should be used in order to select user.id after using aggregation function.
2020-04-13 14:54:25 +03:00
artemnih
aa28e2b33c
docs: fix readme wording (#5842)
word `returns` used twice
2020-04-13 06:26:46 +03:00
aRtoo
5b50f47403
docs: added soft-delete documentation (#5862) 2020-04-13 02:21:18 +03:00
蔡小伦
442bff9507
docs: typo fix (#5739) 2020-03-27 16:06:02 +03:00
tejovanthWork
0aba8a2445
docs: fixed sql to query in the last example (#5753)
there was no `sql` tag in the example, and `query` made the most sense.
2020-03-27 16:04:52 +03:00
apiel
76e165d3d1
feat: update cli migration up and down from any to void (#5630)
Co-authored-by: Alexandre Piel <alexandre.piel@zooplus.com>
2020-03-11 17:59:21 +05:00
Pavinthan
0adbe5cc47
docs: update wasm usage (#5620)
Browser usage updated.
2020-03-11 17:38:26 +05:00
Pierre Turnbull
6e598c1bea
docs: added multi-column informations for JoinColumn (#5656) 2020-03-11 16:21:53 +05:00
Justin Vallelonga
86328d0821
docs: add default value note for unique @Column option (#5599)
adds note about the "default" value of the unique option of the `@Column` decorator
2020-03-03 00:04:44 +05:00
Grravey
adebcb118e
docs: add documentation for specifying SQL Server instance name (#5586)
Closes: #5585
2020-03-02 15:42:36 +05:00
gabalafou
7fe8853bf4
docs: fix links (#5583)
* Fix links

- working-with-repository
- custom-repository

* Fix another link to working-with-repository
2020-03-02 15:41:38 +05:00
Justin Vallelonga
f9505c9b23
docs: very small typo fix (#5551)
adds 's' to scripts section reference
2020-02-20 15:07:39 +05:00
Jen Garcia
1ae2a9fa2c
fix: add driver option to address Expo API change. Fixes typeorm/typeorm#4846 (#5536) 2020-02-18 17:58:40 +05:00
Endurance Idehen
9603ad28de
docs: demostrate an IN Query (#5440)
Solves: https://github.com/typeorm/typeorm/issues/1329
2020-02-17 20:38:32 +05:00
Seunghwan Oh
05cad88718
docs: update relations.md (#5456) 2020-02-17 18:11:43 +05:00
Erik Condie
26ce6bc11a
docs: update many to many relations with custom properties (#5529)
* docs: update many to many relations with custom properties

* updated "many-to-many relations with custom properties" docs

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
2020-02-17 13:33:57 +05:00
Kim_ByungChul
bbbf07b021
delete single quote from "'age' +1" (#5500)
single quote makes error ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value
2020-02-13 14:38:06 +05:00
James Judd
1b98949d1c
doc: mention subscribers connection option in listeners and subscribers page (#5508) 2020-02-13 13:59:02 +05:00
justblender
6c6bde7ebd feat: Add basic support for custom cache providers (#5309)
* Add basic support for custom cache providers

* Rename 'cacheProvider' to 'cache'

* Update caching documentation

* Add CustomQueryResultCache example in caching.md

* Add custom cache provider test
2020-01-22 19:19:22 +05:00
DixCouleur
072c7d7e79 docs: update entity-manager-api.md (#5340)
typo:
await manager.count(User, { firstName: "Timber" }, "age", 3); -> await manager.decrement(User, { firstName: "Timber" }, "age", 3);
2020-01-22 17:23:36 +05:00
bobo-le
10bcc82dec docs: preload doc in repository (#5221)
Add missing note about return value if no entity was found
2020-01-22 12:11:12 +05:00
heiye9
4c8ec25c8b docs: update many-to-one-one-to-many-relations.md (#5325)
修改ManyToOne的错误和语句不通顺的问题。
2020-01-22 10:58:22 +05:00
Dmitry Lukichev
f280023078 docs: update faq.md (#5379) 2020-01-21 12:56:13 +05:00