Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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