check_validity


Description:

public bool check_validity (Connection? cnc) throws Error

If cnc is not null then checks that every object (table, field, function) used in this actually exists in cnc's database

If cnc is null, then cleans anything related to cnc in this.

See gda_sql_statement_check_validity for more information.

Parameters:

this

a Statement object

cnc

a Connection object, or null

Returns:

TRUE if every object actually exists in cnc's database