@@ -415,13 +415,15 @@ Database.prototype.getSchema = function(callback) {
415415 * @param {boolean } options.readOnly - Specifies if the transaction is
416416 * read-only. Default: `false`.
417417 * @param {number } options.exactStaleness - Executes all reads at the timestamp
418- * that is `exactStaleness` old.
418+ * that is `exactStaleness` old. This is only applicable for read-only
419+ * transactions.
419420 * @param {date } options.readTimestamp - Execute all reads at the given
420- * timestamp.
421+ * timestamp. This is only applicable for read-only transactions.
421422 * @param {boolean } options.returnTimestamp - If `true`, returns the read
422423 * timestamp.
423424 * @param {boolean } options.strong - Read at the timestamp where all previously
424- * committed transactions are visible.
425+ * committed transactions are visible. This is only applicable for read-only
426+ * transactions.
425427 * @param {function } callback - The callback function.
426428 * @param {?error } callback.err - An error returned while getting the
427429 * transaction object.
@@ -489,8 +491,6 @@ Database.prototype.getTransaction = function(options, callback) {
489491 * that is `exactStaleness` old.
490492 * @param {date } options.readTimestamp - Execute all reads at the given
491493 * timestamp.
492- * @param {boolean } options.returnTimestamp - If `true`, returns the read
493- * timestamp.
494494 * @param {boolean } options.strong - Read at the timestamp where all previously
495495 * committed transactions are visible.
496496 * @param {function= } callback - The callback function.
@@ -610,8 +610,6 @@ Database.prototype.run = function(query, options, callback) {
610610 * that is `exactStaleness` old.
611611 * @param {date } options.readTimestamp - Execute all reads at the given
612612 * timestamp.
613- * @param {boolean } options.returnTimestamp - If `true`, returns the read
614- * timestamp.
615613 * @param {boolean } options.strong - Read at the timestamp where all previously
616614 * committed transactions are visible.
617615 * @return {Stream }
@@ -797,6 +795,10 @@ Database.prototype.runStream = function(query, options) {
797795 * object. The Transaction object will let you run queries and queue mutations
798796 * until you are ready to {module:spanner/transaction#commit}.
799797 *
798+ * In the event that an aborted error occurs, we will re-run the `runFn` in its
799+ * entirety. If you prefer to handle aborted errors for yourself please refer to
800+ * {module:spanner/database#getTransaction}.
801+ *
800802 * For a more complete listing of functionality available to a Transaction, see
801803 * the {module:spanner/transaction} API documentation. For a general overview of
802804 * transactions within Cloud Spanner, see
@@ -814,13 +816,16 @@ Database.prototype.runStream = function(query, options) {
814816 * @param {boolean } options.readOnly - Specifies if the transaction is
815817 * read-only.
816818 * @param {number } options.exactStaleness - Executes all reads at the timestamp
817- * that is `exactStaleness` old.
819+ * that is `exactStaleness` old. This is only applicable for read-only
820+ * transactions.
818821 * @param {date } options.readTimestamp - Execute all reads at the given
819- * timestamp.
822+ * timestamp. This is only applicable for read-only
823+ * transactions.
820824 * @param {boolean } options.returnTimestamp - If `true`, returns the read
821825 * timestamp.
822826 * @param {boolean } options.strong - Read at the timestamp where all previously
823- * committed transactions are visible.
827+ * committed transactions are visible. This is only applicable for read-only
828+ * transactions.
824829 * @param {function } runFn - A function to execute in the context of a
825830 * transaction.
826831 * @param {?error } runFn.err - An error returned while making this request.
0 commit comments