add_case


Description:

[ Version ( since = "4.2" ) ]
public SqlBuilderId add_case (SqlBuilderId test_expr, SqlBuilderId else_expr, ...)

Creates a new CASE ... WHEN ... THEN ... ELSE ... END expression.

Parameters:

this

a SqlBuilder object

test_expr

the expression ID representing the test of the CASE, or typeof ( unichar2)0

else_expr

the expression ID representing the ELSE expression, or typeof ( unichar2)0

...

a list, terminated by a typeof (unichar2)0, of (WHEN expression ID, THEN expression ID) representing all the test cases

Returns:

the ID of the new expression, or typeof (unichar2)0 if there was an error




2022 vala-language.org