File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3579,7 +3579,7 @@ class Database extends common.GrpcServiceObject {
35793579 *
35803580 * @example
35813581 * ```
3582- * const {Spanner} = require('@google-cloud/spanner');
3582+ * const {Spanner, MutationSet } = require('@google-cloud/spanner');
35833583 * const spanner = new Spanner();
35843584 *
35853585 * const instance = spanner.instance('my-instance');
@@ -3597,7 +3597,7 @@ class Database extends common.GrpcServiceObject {
35973597 * });
35983598 *
35993599 * try {
3600- * const [response, err ] = await database.writeAtLeastOnce(mutations, {});
3600+ * const [response] = await database.writeAtLeastOnce(mutations, {});
36013601 * console.log(response.commitTimestamp);
36023602 * } catch(err) {
36033603 * console.log("Error: ", err);
Original file line number Diff line number Diff line change @@ -861,7 +861,7 @@ describe('Database', () => {
861861
862862 it ( 'should return CommitResponse on successful write using await' , async ( ) => {
863863 sinon . stub ( database , 'writeAtLeastOnce' ) . resolves ( [ RESPONSE ] ) ;
864- const [ response , err ] = await database . writeAtLeastOnce ( mutations , { } ) ;
864+ const [ response ] = await database . writeAtLeastOnce ( mutations , { } ) ;
865865 assert . deepStrictEqual (
866866 response . commitTimestamp ,
867867 RESPONSE . commitTimestamp
You can’t perform that action at this time.
0 commit comments