The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Interchange6::Test::Role::Database

DESCRIPTION

Role consumed by all database-specific roles such as SQLite and Pg to provide common functionality.

ATTRIBUTES

database

The database object. We expect a database-specific role to supply the builder.

database_info

Database backend version and other interesting info (if available). We expect a database-specific role to supply the builder.

dbd_version

DBD::Foo version string. We expect a database-specific role to supply the builder.

schema_class

Defaults to Interchange6::Schema. This gives tests the normal expected schema but allows them to overload with some other test schema if desired.

schema

Our connected and deployed schema,

MODIFIERS

before setup

Add diag showing DBD version info.