File tree 1 file changed +1
-18
lines changed
1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ Transaction.prototype.run = function(query, callback) {
489
489
* this.end();
490
490
* })
491
491
* .on('end', function() {});
492
- * });
492
+ * });
493
493
*/
494
494
Transaction . prototype . runStream = function ( query ) {
495
495
var self = this ;
@@ -646,23 +646,6 @@ Transaction.prototype.retry_ = function(timeout, callback) {
646
646
* });
647
647
* });
648
648
* });
649
- *
650
- * //-
651
- * // You can also omit the callback and return a Promise.
652
- * //-
653
- * transaction.run_(function() {
654
- * return transaction.run('SELECT * FROM Singers')
655
- * .then(function() {
656
- * transaction.insert('Singers', {
657
- * SingerId: 'Id3b',
658
- * Name: 'Joe West'
659
- * });
660
- *
661
- * return transaction.commit();
662
- * });
663
- * }).then(function() {
664
- * // Transaction committed successfully.
665
- * });
666
649
*/
667
650
Transaction . prototype . run_ = function ( fn ) {
668
651
this . runFn_ = fn ;
You can’t perform that action at this time.
0 commit comments