to_sql_real


Description:

public string to_sql_real (SqlRenderingContext context) throws Error

Renders this to its SQL representation, using context to specify how each part of this must be rendered.

This function is mainly used by database provider's implementations which require to specialize some aspects of SQL rendering to be adapted to the database,'s own SQL dialect (for example SQLite rewrites the 'FALSE' and 'TRUE' literals as '0' and 'NOT 0').

Parameters:

this

a Statement object

context

a SqlRenderingContext context

Returns:

a new string, or null if an error occurred