ok-packet.js 334 B

1234567891011121314151617
  1. 'use strict';
  2. const Command = require('../command');
  3. /**
  4. * Ok_Packet
  5. * see https://mariadb.com/kb/en/ok_packet/
  6. */
  7. class OkPacket {
  8. constructor(affectedRows, insertId, warningStatus) {
  9. this.affectedRows = affectedRows;
  10. this.insertId = insertId;
  11. this.warningStatus = warningStatus;
  12. }
  13. }
  14. module.exports = OkPacket;