Permalink
Browse files

register the SQLite driver with MiniDBI

  • Loading branch information...
1 parent b9f163c commit 8f525bc8a26998c01f16ac369e80e54db6bdc97c @moritz moritz committed Apr 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/MiniDBI.pm6
View
@@ -19,6 +19,7 @@ class MiniDBI:auth<mberends>:ver<0.1.0> {
when 'mysql' { eval 'use MiniDBD::mysql; $driver = MiniDBD::mysql.new()' }
when 'PgPir' { eval 'use MiniDBD::PgPir; $driver = MiniDBD::PgPir.new()' }
when 'Pg' { eval 'use MiniDBD::Pg; $driver = MiniDBD::Pg.new()' }
+ when 'SQLite' { eval 'use MiniDBD::SQLite;$driver = MiniDBD::SQLite.new()' }
default { die "driver name '$drivername' is not known"; }
}
return $driver;

0 comments on commit 8f525bc

Please sign in to comment.