# cpl.database — Common Python Library documentation

# cpl.database

- cpl.database.connection
  - cpl.database.connection.database_connection
  - cpl.database.connection.database_connection_abc
- cpl.database.context
  - cpl.database.context.database_context
  - cpl.database.context.database_context_abc

## Submodules

## cpl.database.database_model

## cpl.database.database_settings

class `cpl.database.database_settings.``DatabaseSettings`

  Bases: `cpl.configuration.configuration_model_abc.ConfigurationModelABC`

  Represents settings for the database connection

  property `auth_plugin`
  property `case_sensitive`
  property `connection_string`
  property `credentials`
  property `echo`
  property `encoding`
  `from_dict`(settings: dict)

    Sets attributes from given dict

    settings: `dict`

## cpl.database.database_settings_name_enum

class `cpl.database.database_settings_name_enum.``DatabaseSettingsNameEnum`(value)

  Bases: `enum.Enum`

  An enumeration.

  `auth_plugin` = 'AuthPlugin'
  `case_sensitive` = 'CaseSensitive'
  `connection_string` = 'ConnectionString'
  `credentials` = 'Credentials'
  `echo` = 'Echo'
  `encoding` = 'Encoding'