Sqlite

Ulrich Habel edited this page Oct 17, 2012 · 2 revisions

SQLite

Mojolicious plugins relate to SQLite

Serve information about a database with Mojolicious

If you want to see serve information related to a SQLite database(table definitions, rows, etc.), use Mojolicious::Plugin::SQLiteViewerLite

  # Mojolicious::Lite
  # dbh is a database handle already connected to the database
  plugin 'SQLiteViewerLite', dbh => $dbh;

  # Mojolicious
  $app->plugin('SQLiteViewerLite', dbh => $dbh);

  # Access
  http://localhost:3000/sqliteviewerlite