## protocols.dao.DaoFactoryBase

<span id="hexkit.protocols.dao.DaoFactoryBase"></span>


A base for Data Access Objects (DAO) Factory protocols.


Usage

``` python
protocols.dao.DaoFactoryBase()
```


## Classes

| Name | Description |
|----|----|
| [IdFieldNotFoundError](#IdFieldNotFoundError) | Raised when the dto_model did not contain the expected id_field. |
| [IdTypeNotSupportedError](#IdTypeNotSupportedError) | Raised when the id_field of the dto_model has an unexpected Type. |
| [IndexFieldsInvalidError](#IndexFieldsInvalidError) | Raised when providing an invalid list of fields to index. |

<span id="IdFieldNotFoundError"></span>

<span id="hexkit.protocols.dao.DaoFactoryBase.IdFieldNotFoundError"></span>


#### IdFieldNotFoundError


Raised when the dto_model did not contain the expected id_field.


Usage

``` python
IdFieldNotFoundError()
```


<span id="IdTypeNotSupportedError"></span>

<span id="hexkit.protocols.dao.DaoFactoryBase.IdTypeNotSupportedError"></span>

------------------------------------------------------------------------


#### IdTypeNotSupportedError


Raised when the id_field of the dto_model has an unexpected Type.


Usage

``` python
IdTypeNotSupportedError()
```


<span id="IndexFieldsInvalidError"></span>

<span id="hexkit.protocols.dao.DaoFactoryBase.IndexFieldsInvalidError"></span>

------------------------------------------------------------------------


#### IndexFieldsInvalidError


Raised when providing an invalid list of fields to index.


Usage

``` python
IndexFieldsInvalidError()
```
