PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
mysql
/
lib
/
protocol
/
packets
var Types = require('../constants/types'); module.exports = Field; function Field(options) { options = options || {}; this.parser = options.parser; this.packet = options.packet; this.db = options.packet.db; this.table = options.packet.table; this.name = options.packet.name; this.type = Types[options.packet.type]; this.length = options.packet.length; } Field.prototype.string = function () { return this.parser.parseLengthCodedString(); }; Field.prototype.buffer = function () { return this.parser.parseLengthCodedBuffer(); }; Field.prototype.geometry = function () { return this.parser.parseGeometryValue(); };
[-] ComQueryPacket.js
[edit]
[-] HandshakeInitializationPacket.js
[edit]
[+]
..
[-] ComChangeUserPacket.js
[edit]
[-] EofPacket.js
[edit]
[-] LocalDataFilePacket.js
[edit]
[-] OldPasswordPacket.js
[edit]
[-] ResultSetHeaderPacket.js
[edit]
[-] SSLRequestPacket.js
[edit]
[-] RowDataPacket.js
[edit]
[-] EmptyPacket.js
[edit]
[-] AuthSwitchResponsePacket.js
[edit]
[-] OkPacket.js
[edit]
[-] ComQuitPacket.js
[edit]
[-] UseOldPasswordPacket.js
[edit]
[-] AuthSwitchRequestPacket.js
[edit]
[-] ComStatisticsPacket.js
[edit]
[-] ErrorPacket.js
[edit]
[-] FieldPacket.js
[edit]
[-] index.js
[edit]
[-] StatisticsPacket.js
[edit]
[-] LocalInfileRequestPacket.js
[edit]
[-] Field.js
[edit]
[-] ComPingPacket.js
[edit]
[-] ClientAuthenticationPacket.js
[edit]