forked from yuki-kimoto/Mojolicious-Plugin-DBViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
manwar/Mojolicious-Plugin-DBViewer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Mojolicious::Plugin::DBViewer Mojolicious plugin to display database information on browser. Features This module have the following features. - Support MySQL and SQLite - Display all table names - Display show create table - Select * from TABLE - Display primary keys, null allowed columnes, database engines, and charsets in all tables. Example # Mojolicious::Lite plugin( 'DBViewer', dsn => "dbi:mysql:database=bookshop", user => 'ken', password => '!LFKD%$&' ); # Mojolicious $app->plugin( 'DBViewer', dsn => "dbi:mysql:database=bookshop", user => 'ken', password => '!LFKD%$&' ); # Access http://localhost:3000/dbviewer # Prefix change (http://localhost:3000/dbviewer2) plugin 'DBViewer', dsn => $dsn, prefix => 'dbviewer2'; # Route for bridge my $bridge = $app->route->under(sub {...}); plugin 'DBViewer', dsn => $dsn, route => $bridge;
About
Mojolicious plugin to display database information on browser
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 100.0%