react-backend/routes/notifications.js
//update last notification check field to now in the database
update last notification check field to now in the database
update last notification check field to now in the database
updateLastNotificationCheckToNow() {
    const conn = this.conn;
    var updateLastNotificationCheckQuery =
      "update Account set lastNotificationCheck = current_timestamp where accountID = " +
      this.accountID +
      ";";
    conn.getConnection(function (err, conn) {
      conn.query(updateLastNotificationCheckQuery, function (
        error,
        results,
        fields
      ) {});
    });
  }
updateLastNotificationCheckToNow ( ) { const conn = this . conn ; var updateLastNotificationCheckQuery = "update Account set lastNotificationCheck = current_timestamp where accountID = " + this . accountID + ";" ; conn . getConnection ( function ( err , conn ) { conn . query ( updateLastNotificationCheckQuery , function ( error , results , fields ) { } ) ; } ) ; }
update last notification check field to now in the database
update last notification check field to now in the database