<spanid="cpl-database-connection-database-connection"></span><h2>cpl.database.connection.database_connection<aclass="headerlink"href="#module-cpl.database.connection.database_connection"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.database.connection.database_connection.</span></code><codeclass="sig-name descname"><spanclass="pre">DatabaseConnection</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">database_settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl.database.html#cpl.database.database_settings.DatabaseSettings"title="cpl.database.database_settings.DatabaseSettings"><spanclass="pre">cpl.database.database_settings.DatabaseSettings</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.database.connection.database_connection.DatabaseConnection"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">connect</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">connection_string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.database.connection.database_connection.DatabaseConnection.connect"title="Permalink to this definition">¶</a></dt>
<dd><p>Connects to a database by connection string
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">engine</span></code><aclass="headerlink"href="#cpl.database.connection.database_connection.DatabaseConnection.engine"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">session</span></code><aclass="headerlink"href="#cpl.database.connection.database_connection.DatabaseConnection.session"title="Permalink to this definition">¶</a></dt>
<spanid="cpl-database-connection-database-connection-abc"></span><h2>cpl.database.connection.database_connection_abc<aclass="headerlink"href="#module-cpl.database.connection.database_connection_abc"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">cpl.database.connection.database_connection_abc.</span></code><codeclass="sig-name descname"><spanclass="pre">DatabaseConnectionABC</span></code><aclass="headerlink"href="#cpl.database.connection.database_connection_abc.DatabaseConnectionABC"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span></em><codeclass="sig-name descname"><spanclass="pre">connect</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">connection_string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl.database.connection.database_connection_abc.DatabaseConnectionABC.connect"title="Permalink to this definition">¶</a></dt>
<dd><p>Connects to a database by connection string
<emclass="property"><spanclass="pre">abstract</span><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">engine</span></code><aclass="headerlink"href="#cpl.database.connection.database_connection_abc.DatabaseConnectionABC.engine"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">session</span></code><aclass="headerlink"href="#cpl.database.connection.database_connection_abc.DatabaseConnectionABC.session"title="Permalink to this definition">¶</a></dt>