# cpl_core.database

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

## Submodules

## cpl_core.database.database_model

## cpl_core.database.database_settings

class `cpl_core.database.database_settings.``DatabaseSettings`

  Bases: `cpl_core.configuration.configuration_model_abc.ConfigurationModelABC`

  Represents settings for the database connection

  property `auth_plugin`
  property `buffered`
  property `charset`
  property `database`
  `from_dict`(settings: dict)

    Sets attributes from given dict

    settings: `dict`

  property `host`
  property `password`
  property `use_unicode`
  property `user`

## cpl_core.database.database_settings_name_enum

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

  Bases: `enum.Enum`

  An enumeration.

  `auth_plugin` = 'AuthPlugin'
  `buffered` = 'Buffered'
  `charset` = 'Charset'
  `database` = 'Database'
  `host` = 'Host'
  `password` = 'Password'
  `use_unicode` = 'UseUnicode'
  `user` = 'User'