Commit graph

768 commits

Author SHA1 Message Date
Jake Barnby
6f39c9d147
Update database 2025-05-09 00:11:54 +12:00
Jake Barnby
9c50d60350
Handle upsert usage 2025-05-08 21:08:23 +12:00
Jake Barnby
540102ff97
Explicitly catch exceptions 2025-05-08 18:10:26 +12:00
Jake Barnby
c3f0bec1ff
Validate nested internals 2025-05-08 18:09:37 +12:00
Jake Barnby
1e19e7d0b4
Remove permissions + relationships logic from bulk update/delete 2025-05-08 02:59:04 +12:00
Jake Barnby
be7ea1f798
Add bulk upsert route 2025-05-08 02:49:02 +12:00
Jake Barnby
b44682b6ff
Doc updates 2025-05-07 21:23:16 +12:00
Jake Barnby
fdc98389b1
Return total as modified count 2025-05-07 16:22:15 +12:00
Jake Barnby
05821c2993
Fix conditional 2025-05-07 15:46:17 +12:00
Jake Barnby
5f19398a9b
Accumulate up to limit 2025-05-07 15:45:58 +12:00
Jake Barnby
41ecccda1e
Revert "Fix tests for model changes"
This reverts commit f5d243e229.

# Conflicts:
#	app/controllers/api/databases.php
2025-05-07 15:45:46 +12:00
Jake Barnby
572c49cc90
Revert "Don't accumulate docs on update/delete"
This reverts commit 8c1b9044b3.

# Conflicts:
#	app/controllers/api/databases.php
2025-05-07 15:44:58 +12:00
Jake Barnby
f5d243e229
Fix tests for model changes 2025-05-07 15:14:05 +12:00
Jake Barnby
8c1b9044b3
Don't accumulate docs on update/delete 2025-05-07 03:10:13 +12:00
Jake Barnby
af09f17e02
Max 1 operation 2025-05-06 22:05:59 +12:00
Jake Barnby
af51e31197
Remove debug headers 2025-05-06 13:45:18 +12:00
Jake Barnby
66a40eb175
AI review fixes 2025-05-06 02:21:45 +12:00
Jake Barnby
4b1dba692c
Min 1 operation 2025-05-06 01:02:07 +12:00
Jake Barnby
f52f864085
Get limit directly from plan 2025-05-05 15:04:32 +12:00
Jake Barnby
7b88792b6a
Accumulate documents 2025-04-30 17:40:54 +12:00
Jake Barnby
27ac5cbb2a
Remove redundant withTimestamp 2025-04-30 17:40:47 +12:00
Jake Barnby
f2270b9ef8
Add read/write counts for bulk operations 2025-04-30 14:22:48 +12:00
Jake Barnby
38f5d88b03
Remove unused param 2025-04-30 12:44:15 +12:00
Jake Barnby
f82726c2b4
Remove redundant batch size passing 2025-04-30 12:08:38 +12:00
Jake Barnby
0ab1ebd8c4
Validate create batch size inline 2025-04-30 12:07:56 +12:00
Jake Barnby
2238f6d822
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.lock
#	src/Appwrite/Specification/Format/Swagger2.php
2025-04-30 10:45:18 +12:00
Christy Jacob
f4e8d72593
Merge branch '1.6.x' into feat-group 2025-04-17 18:25:47 +04:00
Jake Barnby
cd72d70432
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations 2025-04-17 17:09:51 +12:00
ArnabChatterjee20k
b2f7ed48dd Simplify constructor usage by inlining message; limit try/catch to DB operations 2025-04-17 10:16:26 +05:30
arnab
8e4bd363d2 added catching of order exception in database controllers 2025-04-16 17:03:14 +05:30
Chirag Aggarwal
c1f62ce0bd Merge branch '1.6.x' into feat-group 2025-04-16 04:49:07 +00:00
Chirag Aggarwal
04733e25c8 chore: make group nullable and remove it from endpoints where its not required 2025-04-12 06:41:57 +00:00
Chirag Aggarwal
2c434924de chore: update openapi specs 2025-03-31 09:32:47 +00:00
Chirag Aggarwal
abcaf6cd73 feat: sdk group attribute 2025-03-31 05:48:17 +00:00
Damodar Lohani
d36a09eec6 remove database storage triggers 2025-03-30 05:54:48 +00:00
Jake Barnby
10c6315589
Add doc comments 2025-03-27 23:00:28 +13:00
Jake Barnby
6608023b9f
Regen specs 2025-03-27 21:30:10 +13:00
Jake Barnby
04c3182f7c
Use parameter class instead of inline array 2025-03-27 21:03:56 +13:00
Jake Barnby
ee9efe530d
Add max batch size resource for plan override 2025-03-27 18:28:55 +13:00
Jake Barnby
985476ac50
Bulk operations for server/console only 2025-03-27 18:16:25 +13:00
Jake Barnby
7e6799d6dd
Block bulk operations on collections with relationships 2025-03-27 18:13:10 +13:00
Jake Barnby
2e12ae4390
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	composer.lock
2025-03-27 18:11:03 +13:00
Chirag Aggarwal
aab8bca91e fix: logic 2025-03-18 14:20:25 +00:00
Chirag Aggarwal
70e27748be chore: set min operations to 1 for reads and writes 2025-03-18 12:52:41 +00:00
Jake Barnby
bc866dc717
Sync with 1.6.x 2025-03-17 21:10:30 +13:00
Jake Barnby
94f9d0140b
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/init.php
#	composer.json
#	composer.lock
2025-03-17 20:44:08 +13:00
Jake Barnby
2f43a3566d
Remove bulk update permissions param 2025-03-05 16:42:09 +13:00
Jake Barnby
8c1a1604a8
Merge pull request #9387 from appwrite/pla-2526
chore: make min/max params optional for attribute update
2025-03-05 16:13:59 +13:00
Jake Barnby
99377e26ee
Reset fixes 2025-03-05 15:09:06 +13:00
Jake Barnby
d809ab1ff3
Merge branch 'feat-bulk-operations' of github.com:appwrite/appwrite into feat-bulk-operations
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2025-03-05 12:47:47 +13:00