Prepared statement execution filter - MySQL

The prepared statement execution filter is called when an already-prepared statement is being invoked, with values for the parameters defined in the prepared statement.

The execution of a prepared statement normally follows the following flow:

Keep in mind that the same prepared statement can be executed many times

Parameters

Examples:

select * from customers

regex:select.*from \w+\.customers where.*cust_id=\?.*


Each value must be specified as an zero-based index, followed by the equal sign, followed by the value as a string.

Examples:

0=23

3=Jones

17=regex:(CA|MI|NY|TX)


Examples:

12.34.56.78, 98.76.54.32

99.88.77.66, 2200:1602:6170:69f0:baa3:8227:c139:d9fc

regex:178\.45\.\d+\.\d+, regex:202\.45\.223\.\d+


Examples:

jdoe,arodriguez,mkhan

regex:fin_\w+,regex:hr_\w+


Context

The following variables will always be defined when your JavaScript executes: