ADC Advanced Policy Expressions

MYSQL_REQ_QUERY_T


Describes a MySQL query.

This topic lists the expressions that are provided by this class.

  • COMMAND

    String for the first keyword of the query. Sets the text mode to case insensitive.

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. Sets the text mode to case insensitive.

Returns: text_t

TEXT (uint n)

Returns a string covering the first n bytes of query. Like HTTP.BODY(n). Sets the text mode to case insensitive.

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

MYSQL_REQ_QUERY_T

In this article