Scroll to navigation

DBIx::Class::Schema::PopulateMore::Test::Schema(3pm) User Contributed Perl Documentation DBIx::Class::Schema::PopulateMore::Test::Schema(3pm)

NAME

DBIx::Class::Schema::PopulateMore::Test::Schema - Test Schema

DESCRIPTION

Defines the base case for loading DBIC Schemas. This schema currently defines three sources, Person, FriendList, and Gender

PACKAGE METHODS

The following is a list of package methods declared with this class.

load_components

Load the components

load_namespaces

Automatically load the classes and resultsets from their default namespaces.

ATTRIBUTES

This class defines the following attributes.

METHODS

This module declares the following methods

connect_and_setup

Creates a schema, deploys a database and sets the testing data. By default we use a DBD::SQLite database created

default_dsn

returns a dsn string, suitable for passing to DBD::SQLite, creating the database as a temporary file.

setup

deploy a database and populate it with the initial data

cleanup

cleanup any temporary files

AUTHOR

Please see DBIx::Class::Schema::PopulateMore For authorship information

LICENSE

Please see DBIx::Class::Schema::PopulateMore For licensing terms.

2023-01-22 perl v5.36.0