Skip to content

Commit c537daa

Browse files
committed
add jsdoc comment for bigtable/table#insert
1 parent 8fe9091 commit c537daa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/troubleshooting.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,3 @@ Reference Issue: [#1101](https://github.com/GoogleCloudPlatform/google-cloud-nod
9191
## gRPC received a message exceeding the max size.
9292

9393
If you're seeing an error message saying that your gRPC request is exceeding the max size, you may need to send smaller individual requests. Request bodies should not exceed 4MB.
94-
95-
This error will generally only occur in methods that can insert large datasets like [bigtable/table#insert](https://googlecloudplatform.github.io/google-cloud-node/#/docs/bigtable/0.5.0/bigtable/table?method=insert).

packages/bigtable/src/table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,9 @@ Table.prototype.getRows = function(options, callback) {
675675
};
676676

677677
/**
678-
* Insert or update rows in your table.
678+
* Insert or update rows in your table. It should be noted that gRPC only allows
679+
* you to send payloads that are less than or equal to 4MB. If you're inserting
680+
* more than that you may need to send smaller individual requests.
679681
*
680682
* @param {object|object[]} entries - List of entries to be inserted.
681683
* See {module:bigtable/table#mutate}.

0 commit comments

Comments
 (0)