createRequest method
Returns a Buffer containing the command packet.
Implementation
@override
Buffer createRequest() {
var encoded = utf8.encode(_sql);
var buffer = Buffer(encoded.length + 1);
buffer.writeByte(COM_QUERY);
buffer.writeList(encoded);
return buffer;
}