const char* sqlite3_bind_parameter_name( sqlite3_stmt* stmt, int pidx );
stmt
A prepared statement that contains parameter values.
pidx
The parameter index. The first parameter has
an index of one (1
).
The text representation of the statement parameter with the given index.
This function looks up the original string representation of a
statement parameter. This is most frequently used with named
parameters, but works correctly for any explicit parameter type.
The string will be UTF-8 encoded, and will include the prefix
character (e.g., the parameter :val
will return :val
, not val
). The return value will be NULL if the
parameter index is invalid, or if the parameter is an automatic
parameter (a bare ?
).