DiscofyAPI/node_modules/mariadb/lib/cmd/class/ok-packet.js

18 lines
334 B
JavaScript
Raw Normal View History

2021-03-25 17:23:36 +01:00
'use strict';
const Command = require('../command');
/**
* Ok_Packet
* see https://mariadb.com/kb/en/ok_packet/
*/
class OkPacket {
constructor(affectedRows, insertId, warningStatus) {
this.affectedRows = affectedRows;
this.insertId = insertId;
this.warningStatus = warningStatus;
}
}
module.exports = OkPacket;