832 Commits

Author SHA1 Message Date
Ahmed Radwan
65026cc509
docs: clarify adjacency list (#10664)
Closes: #2540
2025-01-05 22:16:25 +01:00
Mykyta
c293bd278d
docs: fix imports in Or find operator example (#10689) 2025-01-05 22:12:27 +01:00
LucoEldritch
f4e97d754d
docs: Update mongodb.md (#10718) 2025-01-05 22:09:07 +01:00
Jacob Sánchez
025318b8c8
docs: Include info about using soft delete in Repository API (#10722) 2025-01-05 22:07:18 +01:00
Kunal Garg
4d319020ff
docs: Update eager-and-lazy-relations.md (#10791) 2025-01-05 21:58:00 +01:00
Ivan Vlahov
cf69b64312
docs: documentation for parameters in Repository, DataSource, EntityManager query methods (#10848) 2025-01-05 21:53:05 +01:00
Mykola Kryshchuk
c27e4e83b5
docs: update find-options (#10877) 2025-01-05 21:45:28 +01:00
Guillaume Lhermenier
43e3a07e1e
docs: removed dead link about using typeorm with DI from faq.md (#10886) 2025-01-05 21:44:10 +01:00
YoungKi Lyu
c1ff5d3fa5
docs: add Lock tables in Set Locking (#10921) 2025-01-05 21:42:55 +01:00
Oussama Moussaoui
2844cbc7c8
docs: fix connection options description (#10935) 2025-01-05 21:37:53 +01:00
임채성
54bed9d56d
docs: update deprecated naming (#11017)
Connection is deprecated, so updated naming 'connection' to 'dataSource'.
2025-01-05 21:36:37 +01:00
Hlib Omelchenko
4f643a51af
docs: fix spacing (#11052) 2025-01-05 21:34:40 +01:00
Felipe Pena
6fe7afa747
docs: Update select-query-builder.md (#11120) 2025-01-05 21:24:10 +01:00
standage-thanh
9d15cbdaee
docs: update many-to-many-relations.md (#10699) 2025-01-05 21:13:03 +01:00
Victor Domene Gimeno
30f801f9f0
docs: Update select-query-builder.md (#11166)
change row by column y description
2024-12-30 09:27:45 +01:00
Abdul Aziz Al Basyir
b2d26b07ec
docs: Update data-source-options.md (#11207) 2024-12-29 16:24:03 +01:00
Joel Stimson
a3a7d75bbe
docs: Remove links to defunct Vesper project (#11195) 2024-12-18 11:11:52 +01:00
Abdul Aziz Al Basyir
755191e8cb
docs: Some sentence updated for datasource doc (#11182) 2024-12-12 14:13:16 +01:00
Michael Bromley
6927a65bfb chore: Replace Slack links with Discord
The community has officially moved to Discord
2024-11-28 13:38:53 +01:00
David Höck
db508424c8
chore(docs): add announcement (#11125)
* chore: add announcement file

* chore: add link from home page to announcement

* fix: link to announcement in readme

* chore: remove todo

* chore: add Tauri links
2024-11-08 13:09:13 +01:00
OrangeSheepCool
28a83834ee
docs: update the custom-repository.md file in the docs/zh_CN directory (#10676)
Co-authored-by: OrangeSheepCool <chenyangshuang@qutke.com>
2024-02-02 00:50:54 +05:00
Xayrulloh
dd8c0fdb7e
docs: grammar mistake fixed (#10647)
Let => Lets
2024-01-26 11:55:25 +05:00
Niels Stinissen
d0b76703cc
feat: add postgres multirange column types (#10627)
* feat: add postgres multirange column types

Adds int4-, int8-, num-, ts-, tstz-, date-multirange column types for postgres
Update docs to include multirange column types
Update functional column-types-postgres test to test multirange column types

Closes: #10556

* style: run npm run format

---------

Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-26 11:33:16 +05:00
Alessio Napolitano
032f5350e1
docs: add documentation for .orIgnore method (#10607) 2024-01-26 11:18:18 +05:00
Alessio Napolitano
62f574bc5b
docs: add And operator example (#10603) 2024-01-26 11:00:11 +05:00
Alessio Napolitano
8aa8690f94
fix: resolve issue CREATE/DROP Index concurrently (#10634)
Closes: #10626
2024-01-26 10:38:30 +05:00
Mansur Ibrahim Nok
b67ae360f6
docs: update the content of one-to-one to be more grammatically complete (#10645) 2024-01-26 10:34:40 +05:00
Esdras Rodrigues do Carmo
d3a2e53801
docs: fix table of contents missing sections (#10625) 2024-01-26 10:33:15 +05:00
Kobe Kwanten
15de46fd5d
revert "feat: nullable embedded entities (#10289)" (#10614)
This reverts commit e67d7041387df78c69599c1d3c880389a935ffbf.
2024-01-08 22:20:36 +05:00
zhennann
b5ec0889f7
docs: update Chinese faq.md (#10593) 2024-01-03 09:52:50 +05:00
Deep khurana
a00b1df68f
feat: implement OR operator (#10086)
* feat: implement or operator

This new feature enables typeorm to allow use multiple operators joining with or

Closes: #10054

* feat: implement or operator

Completed code formating using command.

Closes: #10054

* feat: implement or operator

Completed the documentation update.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator.

Closes: #10054
2024-01-02 15:01:01 +05:00
seungwonleee
4329996086
docs: update Soft-Delete, Restore-Soft-Delete examples (#10585)
The getRepository method is missing from the example.
Delete the "users" written in the createQueryBuilder method because it is not used in the where method.
2024-01-02 14:26:19 +05:00
Davis Sylvester
7ecc8f3536
docs: updated id to _id (#10584) 2024-01-02 14:26:03 +05:00
Andrea Mouraud
e67d704138
feat: nullable embedded entities (#10289)
* feat: nullable embedded entities

* fix: ignore embedded columns if not selected

* test: update tests with changed behaviour

* test: replace integer with varchar for cockroachdb

* docs: add documentation

* fix: nested embedded entities

* test: update nested embedded entities behaviour
2024-01-02 12:29:41 +05:00
Minh Nguyên
5c28154cbe
feat: BeforeQuery and AfterQuery events (#10234)
* feat: add query events

Co-authored-by: mnguyen081002 <3langn@gmail.com>
Co-authored-by: andrewda <andrew@dassonville.dev>

* fix: functional cache

* test: added test for issue-3302

* refactor: use broadcasterResult.wait()

* test: use sandbox to restoring

* test: fix test from #3302 with cockroachdb

* docs: add beforeQuery and afterQuery documents

---------

Co-authored-by: andrewda <andrew@dassonville.dev>
Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-02 12:23:25 +05:00
le-harivansh
0f11739351
docs: fix typos (#10243) 2024-01-02 12:06:14 +05:00
Tait Clarridge
3cda7ec39d
feat: add isolated where statements (#10213)
- Add `isolateWhereStatements` to the `BaseDataSourceOptions` object
  and automatically isolate where statements in the query builder
  if it is true
2024-01-02 11:54:43 +05:00
thisnamewasnottaken
122b683840
fix: mssql datasource testonborrow not affecting anything (#10589)
* Remove outdated pool.testOnBorrow references.

* Remove invalid testonborrow option. factory. options are not imported or typed.
2024-01-02 11:50:24 +05:00
Harry Brundage
72b1d1b865
feat: ability to change default replication mode (#10419)
* Add a replication test suite

* Allow overriding the default destination for read queries when using replication

For many applications that want to use read slaves, data consistency isn't super important, and so all reads can be sent by default to a read slave. For some applications though, it's only select queries that can be sent to read slaves as end-users of the application expect data consistency almost everywhere. This new setting lets apps like those change the default such that query builders need to opt *in* to sending to a read slave, instead of opt out.
2023-12-29 19:06:58 +05:00
Nemanja Stanic
b6b46fb133
feat: add exists and exists by (#10291)
This PR deprecates `exist` in favor of `exists` and `existsBy`.
2023-12-29 16:29:02 +05:00
Christopher Kiessling
6d5b5d9ba6
docs: update the docs to keep in line with the example (#10387) 2023-12-29 16:13:43 +05:00
Alperen Serkan Aksöz
7a58bbf4ea
docs: typo fixed in the manager.findAndCountBy documentation (#10396) 2023-12-29 15:56:32 +05:00
Samuel Lukes
f4e6eaf155
feat: add concurrent indexes for postgres (#10442) 2023-12-29 15:52:49 +05:00
YoungKi Lyu
95a7337143
docs: fix orderBy of Spatial columns (#10568) 2023-12-29 15:47:07 +05:00
Steve Foster
d76b546929
docs: update redis cache client options (#10521)
Between v3 and v4 in node-redis the client options changed for a collection of socket related
paramaters. In the caching documentation the v3 format for used for `host` and `socket`. When
following the documented example the redis client would default to `localhost` even when a
different value for `host` was specified.

Closes: #9987
2023-12-29 15:03:02 +05:00
seungwonleee
4173e51dd8
docs: update delete-query-builder.md (#10519)
For previous examples typescript error occurs in createQueryBuilder that says “Argument of type 'string' is not assignable to parameter of type 'QueryRunner'.ts(2345)”.
If you check the type of createQueryBuilder, the string cannot come as the first argument.
The types of createQueryBuilder are as follows.
myDataSource.createQueryBuilder<ObjectLiteral>(entityClass: EntityTarget<ObjectLiteral>, alias: string, queryRunner?: QueryRunner | undefined):
2023-12-29 14:52:03 +05:00
Gabriel Kim
b240d87f34
feat: custom STI discriminator value for EntitySchema (#10508)
add discriminator value metadata to EntitySchema

Closes: #10494
2023-12-29 14:43:59 +05:00
seungwonleee
c8ec5429eb
docs: update select-query-builder.md (#10520)
To use alias as the first argument in the createQueryBuilder method, the entity must be imported into the getRepository method to be used.
2023-12-29 13:11:16 +05:00
Corey Shupe
ebd61d1440
feat: expose countDocuments in mongodb (#10314) 2023-09-30 15:09:58 +05:00
Akshay Barad
b8af97a31d
docs: update example-with-express.md (#10374) 2023-09-30 14:48:08 +05:00