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
.
this |
a Statement object |
cnc |
a Connection object, or null |
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 null |
a new string if no error occurred |