Skip to content
yuki-kimoto edited this page Mar 17, 2012 · 1 revision

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
Clone this wiki locally