compute_select_statement_from_update


Description:


public SqlStatement? compute_select_statement_from_update (Statement update_stmt) throws Error

Computes a SELECT statement which selects all the rows the update_stmt would update.

Beware however that this SqlStatement does not select anything (ie it would be rendered as "SELECT FROM ... WHERE ...") and before being usable, one needs to add some fields to actually select.

Parameters:

update_stmt

an UPDATE statement

Returns:

a new Statement if no error occurred, or null otherwise


Namespace: Gda
Package: libgda-6.0



2022 vala-language.org