IDatabaseDriver

class IDatabaseDriver

Bases: ImpactCOMWrapperBase

Summary:

Represents information about the driver for a database.

Remarks:

Note that some of the IDatabaseDriver properties are returned only for the active database connection.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property auto_sql_connect

Gets auto_sql_connect.

Summary:

Gets the automatic SQL statements performed at connect.

Returns:

The value of auto_sql_connect.

Return type:

auto_sql_connect (str)

property auto_sql_disconnect

Gets auto_sql_disconnect.

Summary:

Gets the automatic SQL statements performed at disconnect.

Returns:

The value of auto_sql_disconnect.

Return type:

auto_sql_disconnect (str)

property connection_string

Gets connection_string.

Summary:

The connection string used to connect to the database.

Remarks:

The connection string is specific to the type of database driver being used.

Returns:

The value of connection_string.

Return type:

connection_string (str)

property description

Gets Description.

Summary:

The description of the driver.

Returns:

The value of Description.

Return type:

description (str)

property driver_type

Gets driver_type.

Summary:

The type of the driver.

Returns:

The value of driver_type.

Return type:

driver_type (str)

property full_name

Gets full_name.

Summary:

The name of the driver.

Returns:

The value of full_name.

Return type:

full_name (str)

property version

Gets Version.

Summary:

The version of the driver.

Returns:

The value of Version.

Return type:

version (str)

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.