render_operation


Description:

public string? render_operation (Connection? cnc, ServerOperation op) throws Error

Creates an SQL statement (possibly using some specific extensions of the DBMS) corresponding to the op operation.

Note that the returned string may actually contain more than one SQL statement.

This function's purpose is mainly informative to get the actual SQL code which would be executed to perform the operation; to actually perform the operation, use perform_operation.

Parameters:

this

a ServerProvider object

cnc

a Connection object which will be used to render the action, or null

op

a ServerOperation object

Returns:

a new string, or null if an error occurred or operation cannot be rendered as SQL.