Skip to content

What class to use to implement or migrate database modules #884

@surister

Description

@surister

Most modules use the testcontainers.core.generic.DbContainer class, but it is marked as deprecated, should we use testcontainers.generic.ServerContainer?

DbContainer had a couple of generics for most databases like uri creation and sqlalchemy connect in _connect, do we just lose that and every module needs to implement their own or would it be ok to re-implement DbContainer from ServerContainer to keep the database specific things?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions