add_cond_v


Description:

[ Version ( since = "4.2" ) ]
public SqlBuilderId add_cond_v (SqlOperatorType op, SqlBuilderId[] op_ids)

Builds a new expression which represents a condition (or operation).

As a side case, if ops_ids_size is 1, then op is ignored, and the returned ID represents op_ids[0] (this avoids any problem for example when op is GDA_SQL_OPERATOR_TYPE_AND and there is in fact only one operand).

Parameters:

this

a SqlBuilder object

op

type of condition

op_ids

an array of ID for the arguments (not 0)

op_ids_size

size of ops_ids

Returns:

the ID of the new expression, or 0 if there was an error