ServerProvider.getDefaultDbmsType

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).

class ServerProvider
string
getDefaultDbmsType

Parameters

cnc gda.connection.Connection

a #GdaConnection object or null

type gobject.types.GType

a #GType value type

Return Value

Type: string

the name of the DBMS type, or null