Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 551 Bytes

memory_db_service.rst

File metadata and controls

29 lines (18 loc) · 551 Bytes
.. automodule:: ddd.infrastructure.db_service.memory_db_service

API

.. autoclass:: MemoryDbService
    :members:
    :show-inheritance:


Examples

Create a memory_db_service and start it:

from ddd.infrastructure.db_service.memory_db_service import MemoryDbService


log_service = ...

db_service = \
    MemoryDbService(
        log_service=log_service,
    )

await db_service.start()