set_type


Description:

[ Version ( since = "6.0" ) ]
public void set_type (Type type)

Set type of the column as a Type.

For numeric type, GDA_TYPE_NUMERIC should be used. Other types, e.g. g_type_float or g_type_double can also be used but precision and scale should not be set. In this case appropriate types for DB implementation will be used, e.g. float4.

Parameters:

this

a DbColumn instance

type

Type for column