Dagfinn Ilmari Mannsåker > DBIx-Class-Schema-Loader-0.04006 > DBIx::Class::Schema::Loader::DBI::SQLite

Download:
DBIx-Class-Schema-Loader-0.04006.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  7
View/Report Bugs
Module Version: 0.04006   Source   Latest Release: DBIx-Class-Schema-Loader-0.07042

NAME ^

DBIx::Class::Schema::Loader::DBI::SQLite - DBIx::Class::Schema::Loader::DBI SQLite Implementation.

SYNOPSIS ^

  package My::Schema;
  use base qw/DBIx::Class::Schema::Loader/;

  __PACKAGE__->loader_options( debug => 1 );

  1;

DESCRIPTION ^

See DBIx::Class::Schema::Loader::Base.

METHODS ^

rescan

SQLite will fail all further commands on a connection if the underlying schema has been modified. Therefore, any runtime changes requiring rescan also require us to re-connect to the database. The rescan method here handles that reconnection for you, but beware that this must occur for any other open sqlite connections as well.

SEE ALSO ^

DBIx::Class::Schema::Loader, DBIx::Class::Schema::Loader::Base, DBIx::Class::Schema::Loader::DBI

syntax highlighting: