get_default_dbms_type


Description:

public unowned string? get_default_dbms_type (Connection? cnc, Type 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 INT64 is requested).

Parameters:

this

a server provider.

cnc

a Connection object or null

type

a Type value type

Returns:

the name of the DBMS type, or null




2022 vala-language.org