GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test::DBIx::Class::SchemaManager::Trait::SQLite(3) User Contributed Perl Documentation Test::DBIx::Class::SchemaManager::Trait::SQLite(3)

Test::DBIx::Class::SchemaManager::Trait::SQLite - The Default Role

The default Storage trait which provides the ability to deploy to a SQLite database. It also sets some %ENV and or configuration options that you can use to specify alternative database setup.

In addition to the documented %ENV settings, this Trait adds the following:

DBNAME
Defaults to ':memory:' to create an in memory database. Provide a string suitable for the "dbname=XXX" part of your connect string. Typically this should be the path to a location on the filesystem you want the datbase file to be stored.

Please note that this file will automatically be deleted unless you have specified to 'keep_db' in the config or via the $ENV{KEEP_DB} setting.

Also note that if you specify a path that already exists, we will automatically add the option 'force_drop_table', on the assumption you are roundtripping tests to the same database file. This way you can avoid having to specifically tell the system to delete the file each time.

John Napiorkowski "<jjnapiork@cpan.org>"

Tristan Pratt

Copyright 2009, John Napiorkowski "<jjnapiork@cpan.org>"

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2016-12-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.