MYSQL_REQ_QUERY_T

(also inherits expressions from: sql_query_t )

Describes a MySQL query.

Direct expressions

COMMAND

String for the first keyword of the query.

Returns: text_t

SIZE

Integer representing the Size of the request query. Similar to CONTENT_LENGTH property of HTTP.

Returns: num_at

TEXT

Returns a string covering the entire query.

Returns: text_t

TEXT (uint n)

Returns a string covering the first n bytes of query. Like HTTP.BODY(n).

Parameters:

            n- first bytes in query

Returns: text_t

TYPECAST_SQL_QUERY_T

Convert mysql_req_query_t to sql_query_t. Will raise an undef if the value is null, empty, or the value has an invalid format for the destination type. (sql_query_t : Describes a SQL query.)

Returns: sql_query_t