52 Commits

Author SHA1 Message Date
Bassel
9fecc309e7 Merge branch 'chore/transactions' into deits/rollbacks 2023-01-18 14:27:17 +02:00
Alexandre Bodin
8a8359c3ed Merge branch 'main' into chore/transactions 2022-11-23 10:19:52 +01:00
Convly
bb7d566d42 Merge branch 'main' of github.com:strapi/strapi into features/deits 2022-11-09 15:15:28 +01:00
Convly
125269d4fa Add readable stream capabilities to the query builder 2022-10-27 11:51:44 +02:00
Pierre Noël
a9819dc375 use onConflict in updateRelations 2022-09-30 10:54:38 +02:00
Pierre Noël
eaf0d84224 add decrements to queryBuilder + use it 2022-09-30 10:54:34 +02:00
Alexandre Bodin
0d73def370 Implicit transactioning 2022-09-12 15:26:08 +02:00
Pierre Noël
3f72ff3a73 Merge branch 'main' into feature/relations-main-view 2022-09-08 15:41:31 +02:00
Alexandre Bodin
70b6966458 Fix eslint database 2022-09-05 19:44:58 +02:00
Pierre Noël
b4f6c87fd4 avoid using db metadata 2022-08-30 15:12:05 +02:00
Pierre Noël
7f521c9348 refactor relation findNew route 2022-08-30 15:12:03 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Bassel Kanso
f92ff683ea make 'id' default value for count 2022-08-09 10:45:58 +03:00
Bassel Kanso
9619cf69a3 only use countDistinct when needed 2022-08-03 14:46:07 +03:00
Bassel Kanso
2b576869b6 only use id when state.count is * 2022-08-03 12:59:30 +03:00
Bassel Kanso
b218ec3997 count columns based on distinct ID 2022-08-01 12:15:05 +03:00
Pierre Noël
89db9b6be8 fix count 2022-06-13 09:22:25 +01:00
Pierre Noël
ab2406b93d fix sql concat call 2022-06-13 09:19:18 +01:00
Pierre Noël
1e66f567f8 change folder uid for pathId 2022-06-13 09:16:26 +01:00
Pierre Noël
cd69fca6f9 add transaction for folder update 2022-05-23 14:31:04 +02:00
Alexandre Bodin
97b37f6b07 Cleanup code 2021-11-15 09:50:34 +01:00
Alexandre Bodin
0aed619155 Support schema option and add forceMigration options 2021-11-10 19:42:03 +01:00
Alexandre Bodin
9dd2824824 Init very simple filters system for the query layer to implement publication state filtering 2021-10-13 14:06:16 +02:00
Alexandre Bodin
704ff5a612 Fix components ordering 2021-09-22 20:10:48 +02:00
Alexandre Bodin
549773698a Fix distinct 2021-09-22 18:49:04 +02:00
Alexandre Bodin
58e024d3ad use columnName snake casing and rename timestamp attributes 2021-09-22 17:05:30 +02:00
Alexandre Bodin
3d302ba448 Fix distinct queries 2021-09-21 19:16:25 +02:00
Alexandre Bodin
f18cf15894 Process input when the query is ready and alias only when necessary 2021-09-21 13:26:56 +02:00
Alexandre Bodin
2d02f8ec2d Use sub query on mysql to avoid alias issue & add mysql 5 tests 2021-09-20 19:29:06 +02:00
Alexandre Bodin
130aade450 some cleanup 2021-09-16 23:29:25 +02:00
Alexandre Bodin
bb1b3c2c6e Run sub queries for update and delete with joins 2021-09-16 22:18:13 +02:00
Alexandre Bodin
df4c67e5e1 Fix insensitive contains 2021-09-16 15:32:27 +02:00
Alexandre Bodin
0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
Alexandre Bodin
9b06d99a2a Fix relation counter to number 2021-08-11 11:02:17 +02:00
Alexandre Bodin
d3a1d6fc98 Fix tests and cleanups 2021-08-11 09:34:55 +02:00
Alexandre Bodin
16b3a44f8a Check nil values in query builder 2021-08-09 18:20:27 +02:00
Alexandre Bodin
07ae49badd Avoid making empty queries in populate 2021-08-06 10:51:34 +02:00
Alexandre Bodin
7b10521664 Fix search 2021-07-28 21:03:32 +02:00
Alexandre Bodin
81dd94c6ec Refactor all query() calls 2021-07-08 18:15:32 +02:00
Alexandre Bodin
e973804399 Filters working 2021-07-05 18:35:16 +02:00
Alexandre Bodin
03988acb63 Cleanup 2021-07-01 14:33:04 +02:00
Alexandre Bodin
1728e67e5d Cleanup operators 2021-07-01 13:52:01 +02:00
Alexandre Bodin
1122d24c90 Cleanup populate 2021-06-30 21:17:32 +02:00
Alexandre Bodin
b5856aa624 Init link query entity service 2021-06-30 20:00:03 +02:00
Alexandre Bodin
b4ecb48c44 Remove mongoose connector 2021-06-29 16:27:35 +02:00
Alexandre Bodin
fe4e355b24 Branch i18n bootstrap 2021-06-28 22:37:19 +02:00
Alexandre Bodin
d5b96c6e97 fromRow - toRow 2021-06-28 21:37:44 +02:00
Alexandre Bodin
d33a363c88 Crud + relations Associations v1 2021-06-25 12:07:32 +02:00
Alexandre Bodin
bdbf90b567 wip 2021-06-24 18:28:36 +02:00
Alexandre Bodin
5316fb07ea Attach relations 2021-06-24 09:12:19 +02:00