to_sql_extended
Description:
public string to_sql_extended (Connection? cnc, Set? @params, StatementSqlFlag flags, out SList<unowned Holder> params_used) throws Error
Renders this as an SQL statement, with some control on how it is rendered.
If cnc
is not null
, then the rendered SQL will better be suited to be used by cnc
(in particular it may
include some SQL tweaks and/or proprietary extensions specific to the database engine used by cnc
): in this case the result is
similar to calling statement_to_sql.
Parameters:
this |
a Statement object |
cnc |
a Connection object, or |
flags |
a set of flags to control the rendering |
params_used |
a place to store the list of actual Holder objects in |
params |
parameters contained in a single Set object, or |
Returns:
a new string if no error occurred |