-
Notifications
You must be signed in to change notification settings - Fork 930
Adding documentation for WriteBatch size limit #1715
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
Conversation
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.
Thanks! Sorry for the delay on review. This is a good start, but I'm giving you some additional nuance to capture. :)
Also, runTransaction() is subject to the same limit, so can you add a similar comment there?
Oh wow, that is a subtlety that is hard to glean from just skimming the documentation. Thanks for pointing it out and explaining it to me! |
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.
LGTM. Thanks!
@@ -206,8 +212,14 @@ export class FirebaseFirestore { | |||
): Promise<T>; | |||
|
|||
/** | |||
* Creates a write batch, used for performing multiple writes as a single | |||
* atomic operation. | |||
* Creates a write batch, used for performing multiple writes as a single |
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.
Oooh, thanks for bringing this into sync.
Reference: b/70222712