statement_to_sql


Description:

public string statement_to_sql (Statement stmt, Set? @params, StatementSqlFlag flags, out SList<unowned Holder>? params_used) throws Error

Renders stmt as an SQL statement, adapted to the SQL dialect used by this

Parameters:

this

a Connection object, or null

stmt

a Statement object

flags

SQL rendering flags, as StatementSqlFlag OR'ed values

params_used

a place to store the list of individual Holder objects within params which have been used

params

a Set object (which can be obtained using get_parameters), or null

Returns:

a new string, or null if an error occurred