insertWithReturnId(sql, values, callback) {
    this.pool.query(sql, values, (err, res) => {
      const id = res.rows[0].id;
      callback(id);
    });
  }
// INSERT RECORD AND RETURN ID OF NEW RECORD
INSERT RECORD AND RETURN ID OF NEW RECORD
INSERT RECORD AND RETURN ID OF NEW RECORD
insertWithReturnId(sql, values, callback) {
    this.pool.query(sql, values, (err, res) => {
      const id = res.rows[0].id;
      callback(id);
    });
  }
insertWithReturnId ( sql , values , callback ) { this . pool . query ( sql , values , ( err , res ) => { const id = res . rows [ 0 ] . id ; callback ( id ) ; } ) ; }
INSERT RECORD AND RETURN ID OF NEW RECORD
INSERT RECORD AND RETURN ID OF NEW RECORD