equalsByKey(anotherRow) {
    const keyColumns = this.constructor.getKeyColumns();
    for (const column of keyColumns) {
      if (this[column] !== anotherRow[column]) {
        return false;
      }
    }

    return true;
  }
/**
   * Checks if the two objects are matching by the key values.
   * @param  {Object}  anotherRow another object to compare key with
   * @return {Boolean}            true if the objects are equal, false otherwise
   */
Checks if the two objects are matching by the key values.
@param  {Object}  anotherRow another object to compare key with
@return {Boolean}            true if the objects are equal, false otherwise
Checks if the two objects are matching by the key values . @param { Object } anotherRow another object to compare key with @return { Boolean } true if the objects are equal false otherwise
equalsByKey(anotherRow) {
    const keyColumns = this.constructor.getKeyColumns();
    for (const column of keyColumns) {
      if (this[column] !== anotherRow[column]) {
        return false;
      }
    }
    return true;
  }
equalsByKey ( anotherRow ) { const keyColumns = this . constructor . getKeyColumns ( ) ; for ( const column of keyColumns ) { if ( this [ column ] !== anotherRow [ column ] ) { return false ; } } return true ; }
Checks if the two objects are matching by the key values.
Checks if the two objects are matching by the key values .