compute_unique_table_row_condition


Description:


public SqlExpr? compute_unique_table_row_condition (SqlStatementSelect stsel, MetaTable mtable, bool require_pk) throws Error

Computes a SqlExpr expression which can be used in the WHERE clause of an UPDATE or DELETE statement when a row from the result of the stsel statement has to be modified.

Parameters:

stsel

a GdaSqlSelectStatement

mtable

a MetaTable

require_pk

set to TRUE if a primary key ir required

Returns:

a new SqlExpr, or null if an error occurred.


Namespace: Gda
Package: libgda-6.0



2022 vala-language.org