ServerProvider.getDefaultDbmsType

string getDefaultDbmsType(gda.connection.Connection cnc, gobject.types.GType type)

Get the name of the most common data type which has type type.

The returned value may be null either if the provider does not implement that method, or if there is no DBMS data type which could contain data of the g_type type (for example null may be returned if a DBMS has integers only up to 4 bytes and a #G_TYPE_INT64 is requested).

Parameters

cnca #GdaConnection object or null
typea #GType value type

Returns

the name of the DBMS type, or null