SqlBuilder.addCond

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

Parameters

op gda.types.SqlOperatorType

type of condition

op1 gda.types.SqlBuilderId

the ID of the 1st argument (not 0)

op2 gda.types.SqlBuilderId

the ID of the 2nd argument (may be 0 if op needs only one operand)

op3 gda.types.SqlBuilderId

the ID of the 3rd argument (may be 0 if op needs only one or two operand)

Return Value

Type: gda.types.SqlBuilderId

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