graph-database.js
/**
   Roll back changes in all attached objects.
   */
Roll back changes in all attached objects.
Roll back changes in all attached objects .
abort() {
    this.objects.forEach(function(object, id) {
      if (object._transaction) { 
        var target = object._self || object;
        target._transaction = null;
        target.rollback();
      }
    });
    this.objects = new Map();
    return (this);
  }
abort ( ) { this . objects . forEach ( function ( object , id ) { if ( object . _transaction ) { var target = object . _self || object ; target . _transaction = null ; target . rollback ( ) ; } } ) ; this . objects = new Map ( ) ; return ( this ) ; }
Roll back changes in all attached objects.
Roll back changes in all attached objects .
// allow for multiple attachments