John Napiorkowski > DBIx-Class-Schema-PopulateMore > DBIx::Class::Schema::PopulateMore::Test::Schema;

Download:
DBIx-Class-Schema-PopulateMore-0.18.tar.gz

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: