add_cond


Description:

[ Version ( since = "4.2" ) ]
public SqlBuilderId add_cond (SqlOperatorType op, SqlBuilderId op1, SqlBuilderId op2, SqlBuilderId op3)

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

Parameters:

this

a SqlBuilder object

op

type of condition

op1

the ID of the 1st argument (not 0)

op2

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

op3

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

Returns:

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