add_expr_value


Description:

[ Version ( since = "4.2" ) ]
public SqlBuilderId add_expr_value (Value? value)

Defines an expression in this which may be reused to build other parts of a statement.

The new expression will contain the value passed as the value argument.

If value's type is a string then it is possible to customize how the value has to be interpreted by passing a specific DataHandler object as dh. This feature is very rarely used and the dh argument should generally be null.

Parameters:

this

a SqlBuilder object

value

value to set the expression to, or null or a GDA_TYPE_NULL value to represent an SQL NULL

Returns:

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