Module io_send_cmd

This module incapsulates functions these are responsible for sending binary packages to MySQL server.

Copyright © 2010-2014 Alexei Krasnopolski

Version: 1.2.4

Introduced in: 2010-12-21

Authors: Alexei Krasnopolski (krasnop@bellsouth.net) [web site: http://krasnopolski.org/].

Description

This module incapsulates functions these are responsible for sending binary packages to MySQL server. The functions return result packages from the server.

Function Index

send_cmd_packet/2Sends binary Command to server throw Connection's Socket.
send_cmd_packet/3Sends binary Command to server throw Connection's Socket.
send_cmd_packet/4
send_cmd_packet_no_resp/2Sends binary Command to server throw Connection's Socket and is not waiting any response.

Function Details

send_cmd_packet/2

send_cmd_packet(Connection::#connection{}, Command::binary()) -> {Metadata::#metadata{}, Result} | #mysql_error{}

Sends binary Command to server throw Connection's Socket.

See also: send_cmd_packet/4.

send_cmd_packet/3

send_cmd_packet(Connection::#connection{}, Command::binary(), N::Control) -> {Metadata::#metadata{}, Result} | #mysql_error{}

Sends binary Command to server throw Connection's Socket.

See also: send_cmd_packet/4.

send_cmd_packet/4

send_cmd_packet(Connection, Command, Initial_metadata, X4) -> any()

send_cmd_packet_no_resp/2

send_cmd_packet_no_resp(Connection::#connection{}, Command::binary()) -> ok | #mysql_error{}

Sends binary Command to server throw Connection's Socket and is not waiting any response.

See also: send_cmd_packet_no_resp/3.


Generated by EDoc, Mar 19 2014, 23:27:00.