SqlBuilder.addCondV

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

op gda.types.SqlOperatorType

type of condition

opIds gda.types.SqlBuilderId[]

an array of ID for the arguments (not 0)

Return Value

Type: gda.types.SqlBuilderId

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