[Dbix-class] Is there a way setup a DBIC schema, result and resultset classes in one file?

Zbigniew Lukasiak zzbbyy at gmail.com
Wed Feb 25 13:04:53 GMT 2009


On Wed, Feb 25, 2009 at 1:46 PM, Peter Rabbitson <rabbit+dbic at rabbit.us> wrote:
> Zbigniew Lukasiak wrote:
>>
>> my $schema = DBSchema->connect( 'dbi:SQLite:memory' );
>>
>
> memory is just a db file called 'memory' in the current dir. You
> want the string ':memory:' or ->connect( 'dbi:SQLite::memory:' );

Thanks again!

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the DBIx-Class mailing list