DataSelect.computeRowSelectionCondition

bool computeRowSelectionCondition()

Offers the same features as [gda.data_select.DataSelect.setRowSelectionCondition] but the expression is computed from the meta data associated to the connection being used when model was created.

NOTE1: make sure the meta data associated to the connection is up to date before using this method, see [gda.connection.Connection.updateMetaStore].

NOTE2: if the SELECT statement from which model has been created uses more than one table, or if the table used does not have any primary key, then this method will fail

Returns

TRUE if no error occurred.

Throws

[DataSelectException]