-
Notifications
You must be signed in to change notification settings - Fork 273
Docs: Add plan limits for bulk operations #2285
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
base: main
Are you sure you want to change the base?
Conversation
The preview deployment failed. 🔴 Last updated at: 2025-08-20 19:12:34 CET |
appwrite.ioProject ID: Note Cursor pagination performs better than offset pagination when loading further pages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds documentation about plan limits for bulk operations in the Appwrite databases section. The change provides clear information about the document limits per request for different subscription tiers.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ebenezerdon tests failing for -
|
src/routes/docs/products/databases/bulk-operations/+page.markdoc
Outdated
Show resolved
Hide resolved
WalkthroughUpdated docs at src/routes/docs/products/databases/bulk-operations/+page.markdoc. Inserted an “Important notes” box stating bulk operations don’t trigger Functions, Webhooks, or Realtime events, and that collections with relationship attributes aren’t supported via bulk operations; advises using individual document operations for such collections. Added a “Plan limits” section with limits (Free: 100; Pro: 1,000) applying to create/update/upsert/delete, plus a support contact link for custom plans. Added a “Custom timestamps” note in Create documents allowing $createdAt and $updatedAt per document (ISO 8601) or auto-set if omitted. No other content changes; atomic behavior unchanged. Pre-merge checks (3 passed)✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
src/routes/docs/products/databases/bulk-operations/+page.markdoc (1)
29-39
: Plan limits section looks good; correct support link.Table is clear and uses the right enterprise contact URL, addressing prior feedback.
🧹 Nitpick comments (2)
src/routes/docs/products/databases/bulk-operations/+page.markdoc (2)
13-16
: Confirm event behavior; consider minor copy edit.Please confirm with the product team that bulk ops truly suppress Functions, Webhooks, and Realtime events. If confirmed, we should keep this as a prominent callout. Also add terminal periods for consistency.
{% info title="Important notes" %} -- Bulk operations do not trigger Functions, Webhooks, or Realtime events -– Collections that contain relationship attributes are not supported via bulk operations. Use individual document operations for collections with relationships +- Bulk operations do not trigger Functions, Webhooks, or Realtime events. +- Collections that contain relationship attributes are not supported via bulk operations. Use individual document operations for collections with relationships. {% /info %}
59-72
: Unify placeholder style: use <COLLECTION_ID> (not [COLLECTION_ID]) in Node examples.Python blocks use angle brackets; Node blocks should match to avoid user confusion.
- '[COLLECTION_ID]', + '<COLLECTION_ID>',Apply the same change in createDocuments, updateDocuments, upsertDocuments, and deleteDocuments Node snippets.
Also applies to: 124-133, 181-194, 246-252
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/routes/docs/products/databases/bulk-operations/+page.markdoc
(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: format
- GitHub Check: tests
🔇 Additional comments (2)
src/routes/docs/products/databases/bulk-operations/+page.markdoc (2)
44-46
: Verify “Custom timestamps” capability.Allowing $createdAt/$updatedAt to be set is atypical for system fields. Please confirm this is supported for bulk ops and server SDKs, and note any constraints (e.g., server-only, ISO 8601 UTC, validation/rounding).
1-5
: Fix unbalanced Markdoc section tags in music-generation tutorial
The CI failure is caused by an unmatched{% section %}
insrc/routes/docs/products/ai/tutorials/music-generation/+page.markdoc
. Ensure every{% section %}
has a corresponding{% /section %}
in that file.
{% info title="Important notes" %} | ||
- Bulk operations do not trigger Functions, Webhooks, or Realtime events | ||
- Collections that contain relationship attributes are not supported via bulk operations. Use individual document operations for collections with relationships | ||
{% /info %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you double check if this is still the case? Some of this might work now after 1.8 was released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
relationships are not supported via bulk afaik. also this terminology needs an update. All legacy ones should go in the databases/legacy
routes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ItzNotABug sorry, i meant the triggering of functions, webhooks, and realtime events.
src/routes/docs/products/databases/bulk-operations/+page.markdoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment for @ItzNotABug : #2285 (comment)
What does this PR do?
Adds plan limits for bulk operations to the docs
Summary by CodeRabbit