perl-blead ========== cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux Work directory is /home/ryan/.cpanm/work/1493344378.19833 You have make /usr/bin/make You have LWP 6.26 You have /bin/tar: tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Mojolicious::Plugin::DBViewer::MySQL::Dbviewer () on cpanmetadb ... Unpacking Mojolicious-Plugin-DBViewer-0.01.tar.gz --> Working on Mojolicious::Plugin::DBViewer::MySQL::Dbviewer Fetching http://www.cpan.org/authors/id/K/KI/KIMOTO/Mojolicious-Plugin-DBViewer-0.01.tar.gz ... OK Mojolicious-Plugin-DBViewer-0.01/ Mojolicious-Plugin-DBViewer-0.01/META.yml Mojolicious-Plugin-DBViewer-0.01/Changes Mojolicious-Plugin-DBViewer-0.01/t/ Mojolicious-Plugin-DBViewer-0.01/t/sqlite-test.pl Mojolicious-Plugin-DBViewer-0.01/t/load.t Mojolicious-Plugin-DBViewer-0.01/t/sqlite-basic.t Mojolicious-Plugin-DBViewer-0.01/t/mysql-test.pl Mojolicious-Plugin-DBViewer-0.01/t/mysql-basic.t Mojolicious-Plugin-DBViewer-0.01/MYMETA.json Mojolicious-Plugin-DBViewer-0.01/README Mojolicious-Plugin-DBViewer-0.01/Makefile.PL Mojolicious-Plugin-DBViewer-0.01/MYMETA.yml Mojolicious-Plugin-DBViewer-0.01/MANIFEST Mojolicious-Plugin-DBViewer-0.01/lib/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/MySQL/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/MySQL/Command.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/MySQL/Dbviewer.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/SQLite/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/Command.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/default.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcharsets.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/default.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showprimarykeys.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcreatetables.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/pagenavi.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/select.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/table.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showselecttables.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showdatabaseengines.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/shownullallowedcolumns.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/tables.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/layouts/ Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/templates/layouts/dbviewer_common.html.ep Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer/MySQL.pm Mojolicious-Plugin-DBViewer-0.01/lib/Mojolicious/Plugin/DBViewer.pm Mojolicious-Plugin-DBViewer-0.01/META.json Entering Mojolicious-Plugin-DBViewer-0.01 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Running Makefile.PL Configuring Mojolicious-Plugin-DBViewer-0.01 ... Checking if your kit is complete... Warning: the following files are missing in your kit: lib/Mojolicious/Plugin/DBViewer/MySQL/Main.pm lib/Mojolicious/Plugin/DBViewer/SQLite/Main.pm lib/Mojolicious/Plugin/DBViewer/templates/layouts/common.html.ep lib/Mojolicious/Plugin/DBViewer/templates/pagenavi.html.ep lib/Mojolicious/Plugin/DBViewer/templates/select.html.ep lib/Mojolicious/Plugin/DBViewer/templates/showcharsets.html.ep lib/Mojolicious/Plugin/DBViewer/templates/showcreatetables.html.ep lib/Mojolicious/Plugin/DBViewer/templates/showdatabaseengines.html.ep lib/Mojolicious/Plugin/DBViewer/templates/shownullallowedcolumns.html.ep lib/Mojolicious/Plugin/DBViewer/templates/showprimarykeys.html.ep lib/Mojolicious/Plugin/DBViewer/templates/showselecttables.html.ep lib/Mojolicious/Plugin/DBViewer/templates/table.html.ep lib/Mojolicious/Plugin/DBViewer/templates/tables.html.ep t/mysql-connector.t t/mysql-load.t t/sqlite-connector.t t/sqlite-load.t Please inform the author. Generating a Unix-style Makefile Writing Makefile for Mojolicious::Plugin::DBViewer Writing MYMETA.yml and MYMETA.json Checking dependencies from MYMETA.json ... Checking if you have Data::Page 2.02 ... Yes (2.02) Checking if you have DBIx::Custom 0.25 ... Yes (0.40) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have Test::More 0 ... Yes (1.302078) Checking if you have Mojolicious 2.59 ... Yes (7.29) OK Building and testing Mojolicious-Plugin-DBViewer-0.01 ... cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/pagenavi.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/pagenavi.html.ep cp lib/Mojolicious/Plugin/DBViewer/Command.pm blib/lib/Mojolicious/Plugin/DBViewer/Command.pm cp lib/Mojolicious/Plugin/DBViewer/templates/default.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/default.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/shownullallowedcolumns.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/shownullallowedcolumns.html.ep cp lib/Mojolicious/Plugin/DBViewer/MySQL/Dbviewer.pm blib/lib/Mojolicious/Plugin/DBViewer/MySQL/Dbviewer.pm cp lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm cp lib/Mojolicious/Plugin/DBViewer/MySQL/Command.pm blib/lib/Mojolicious/Plugin/DBViewer/MySQL/Command.pm cp lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/table.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/table.html.ep cp lib/Mojolicious/Plugin/DBViewer/MySQL.pm blib/lib/Mojolicious/Plugin/DBViewer/MySQL.pm cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/select.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/select.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/tables.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/tables.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showprimarykeys.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showprimarykeys.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/default.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/default.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcharsets.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcharsets.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showdatabaseengines.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showdatabaseengines.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showselecttables.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showselecttables.html.ep cp lib/Mojolicious/Plugin/DBViewer.pm blib/lib/Mojolicious/Plugin/DBViewer.pm cp lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcreatetables.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/dbviewer/showcreatetables.html.ep cp lib/Mojolicious/Plugin/DBViewer/templates/layouts/dbviewer_common.html.ep blib/lib/Mojolicious/Plugin/DBViewer/templates/layouts/dbviewer_common.html.ep Manifying 1 pod document PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/load.t .......... ok t/mysql-basic.t ... skipped: MySQL private test Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 71. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:71
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/tables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:05 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 71. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:71
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/tables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:05 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 71. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:71
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/tables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:05 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 80. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:80
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/table?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:15 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:show create table)' # Failed test 'content is similar' # at t/sqlite-basic.t line 80. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:80
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/table?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:15 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 80. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:80
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/table?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:15 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_2)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 87. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:87
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table1\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 87. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:87
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 87. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:87
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_2)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 97. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:97
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1&condition_column=column1_2&condition_value=4
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "condition_column" => "column1_2",
#   "condition_value" => 4,
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table1\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 97. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:97
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1&condition_column=column1_2&condition_value=4
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "condition_column" => "column1_2",
#   "condition_value" => 4,
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 97. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:97
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table1&condition_column=column1_2&condition_value=4
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "condition_column" => "column1_2",
#   "condition_value" => 4,
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:17 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\b3\b)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Create tables)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column2_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column2_2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 106. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:86
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:106
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showcreatetables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showcreatetables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:18 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 117. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:115
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:117
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showselecttables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showselecttables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:20 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Select tables)' # Failed test 'content is similar' # at t/sqlite-basic.t line 117. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:115
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:117
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showselecttables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showselecttables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:20 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 117. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:115
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:117
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showselecttables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showselecttables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:20 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\/select\?)' # Failed test 'content is similar' # at t/sqlite-basic.t line 117. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:115
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:117
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showselecttables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showselecttables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:20 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 117. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:115
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:117
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showselecttables?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showselecttables",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:20 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 125. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:125
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showprimarykeys?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:22 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Primary keys)' # Failed test 'content is similar' # at t/sqlite-basic.t line 125. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:125
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showprimarykeys?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:22 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 125. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:125
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showprimarykeys?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:22 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\(column1_1\))' # Failed test 'content is similar' # at t/sqlite-basic.t line 125. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:125
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showprimarykeys?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:22 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 125. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:125
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/showprimarykeys?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:22 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 134. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:134
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:24 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Null allowed column)' # Failed test 'content is similar' # at t/sqlite-basic.t line 134. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:134
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:24 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 134. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:134
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:24 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\(column1_2\))' # Failed test 'content is similar' # at t/sqlite-basic.t line 134. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:134
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:24 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 134. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:134
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:41873
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "dbviewer",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "dbviewer"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:41873
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test1"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test1"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:24 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 203. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:203
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/tables?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:26 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 203. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:203
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/tables?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:26 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 203. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:34
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:203
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/tables?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "tables",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other",
#   "utilities" => [
#     {
#       "path" => "showcreatetables",
#       "title" => "Show create tables"
#     },
#     {
#       "path" => "showselecttables",
#       "title" => "Show select tables"
#     },
#     {
#       "path" => "showprimarykeys",
#       "title" => "Show primary keys"
#     },
#     {
#       "path" => "shownullallowedcolumns",
#       "title" => "Show null allowed columns"
#     }
#   ]
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:26 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 212. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:212
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/table?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:31 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:show create table)' # Failed test 'content is similar' # at t/sqlite-basic.t line 212. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:212
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/table?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:31 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 212. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select sql
#   from .sqlite_master
#   where type in ('table', 'type') and name = ''
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 81.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
76 #
select sql
#
77 #
  from $database.sqlite_master
#
78 #
  where type in ('table', 'type') and name = '$table'
#
79 #
EOS
#
80 #
  
#
81 #
  my $create_table = $self->dbi->execute($sql)->value;
#
82 #
  
#
83 #
  # Format
#
84 #
  $create_table =~ s/\(/(\n  /;
#
85 #
  $create_table =~ s/, /,\n  /g;
#
86 #
  $create_table =~ s/\)$/\n)/;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:81
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:62
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:212
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/table?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "table",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:31 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_2)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 219. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:219
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/select?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table1\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 219. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:219
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/select?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 219. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: no such table:. Following SQL is executed.
# select * from ""  limit 0, 100
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm line 219.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
214 #
  my $page = $vresult->data->{page};
#
215 #
  my $count = 100;
#
216 #
  my $offset = ($page - 1) * $count;
#
217 #
  
#
218 #
  # Get null allowed columns
#
219 #
  my $result = $plugin->dbi->select(
#
220 #
    table => "$database.$table",
#
221 #
    where => $where,
#
222 #
    append => "limit $offset, $count"
#
223 #
  );
#
224 #
  my $header = $result->header;
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:716
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:219
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:219
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/select?database=main&table=table1
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table1"
# }
# 
Stash:
{
#   "action" => "select",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "table",
#             "option" => {
#               "default" => ""
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"uint"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "uint"
#               }
#             ],
#             "default" => 1,
#             "key" => "page",
#             "option" => {
#               "default" => 1
#             }
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "key" => "condition_column",
#             "option" => {}
#           },
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"not_blank"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "not_blank"
#               }
#             ],
#             "key" => "condition_value",
#             "option" => {}
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:column1_2)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 229. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:229
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/showprimarykeys?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Primary keys)' # Failed test 'content is similar' # at t/sqlite-basic.t line 229. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:229
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/showprimarykeys?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 229. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:229
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/showprimarykeys?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\(column1_1\))' # Failed test 'content is similar' # at t/sqlite-basic.t line 229. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:229
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/showprimarykeys?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 229. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:11
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:140
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:229
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/showprimarykeys?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "showprimarykeys",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:34 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in exists at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Controller.pm line 67. Use of uninitialized value $name in hash element at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Message.pm line 247. Use of uninitialized value $name in string eq at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Parameters.pm line 46. Use of uninitialized value in anonymous hash ({}) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm line 49. # Failed test 'content is similar' # at t/sqlite-basic.t line 238. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:238
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:36 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:Null allowed column)' # Failed test 'content is similar' # at t/sqlite-basic.t line 238. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:238
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:36 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table1)' # Failed test 'content is similar' # at t/sqlite-basic.t line 238. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:238
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:36 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\(column1_2\))' # Failed test 'content is similar' # at t/sqlite-basic.t line 238. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:238
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:36 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table2)' # Failed test 'content is similar' # at t/sqlite-basic.t line 238. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Server error (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#
#
DBD::SQLite::db prepare failed: near ".": syntax error. Following SQL is executed.
# select distinct(name)
#   from .sqlite_master
#   where type in ('table', 'view')
#   order by name;
# 
# (DBIx::Custom::execute) at /home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm line 67.
# 
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62 #
  from $database.sqlite_master
#
63 #
  where type in ('table', 'view')
#
64 #
  order by name;
#
65 #
EOS
#
66 #
#
67 #
  my $tables = $self->dbi->execute($sql)->values;
#
68 #
  
#
69 #
  return $tables;
#
70 #
}
#
71 #
#
72 #
sub show_create_table {
#
#
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Carp.pm:167
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:1285
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DBIx/Custom.pm:339
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Command.pm:67
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/Command.pm:22
#
#
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/SQLite/Dbviewer.pm:165
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:138
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:87
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:166
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:36
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:38
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Routes.pm:44
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:129
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:139
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:201
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious/Plugins.pm:18
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojolicious.pm:145
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server.pm:68
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:107
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Transaction/HTTP.pm:60
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:225
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Server/Daemon.pm:206
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/EventEmitter.pm:15
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:99
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop/Stream.pm:48
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/Poll.pm:143
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:46
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/Reactor/EV.pm:25
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/IOLoop.pm:136
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Mojo/UserAgent.pm:59
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:380
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:327
#
#
/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test/Mojo.pm:120
#
#
t/sqlite-basic.t:238
#
#
#
tap for more
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/other/shownullallowedcolumns?database=main
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main"
# }
# 
Stash:
{
#   "action" => "shownullallowedcolumns",
#   "cb" => sub { "DUMMY" },
#   "controller" => "dbviewer",
#   "driver" => "sqlite",
#   "main_title" => "DBViewer",
#   "namespace" => "Mojolicious::Plugin::DBViewer::SQLite",
#   "plugin" => bless( {
#     "command" => bless( {
#       "dbi" => bless( {
#         "connector" => bless( {
#           "_args" => sub { "DUMMY" },
#           "_dbh" => bless( {}, 'DBI::db' ),
#           "_dond" => 1,
#           "_mode" => "no_ping",
#           "_pid" => 19918,
#           "_svp_depth" => 0,
#           "driver" => bless( {
#             "_sqlite_is_new_enough" => 1,
#             "driver" => "SQLite"
#           }, 'DBIx::Connector::Driver::SQLite' )
#         }, 'DBIx::Connector' ),
#         "dbh" => $VAR1->{"plugin"}{"command"}{"dbi"}{"connector"}{"_dbh"},
#         "default_option" => {
#           "AutoCommit" => 1,
#           "PrintError" => 0,
#           "RaiseError" => 1
#         },
#         "dsn" => "dbi:SQLite:dbname=:memory:",
#         "option" => {},
#         "password" => undef,
#         "quote" => "\"",
#         "safety_character" => "a-zA-Z0-9_",
#         "user" => undef
#       }, 'DBIx::Custom' )
#     }, 'Mojolicious::Plugin::DBViewer::SQLite::Command' ),
#     "dbi" => $VAR1->{"plugin"}{"command"}{"dbi"},
#     "prefix" => "other",
#     "validator" => bless( {
#       "checks" => {
#         "ascii_graphic" => sub { "DUMMY" },
#         "in" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "number" => sub { "DUMMY" }
#       },
#       "constraints" => {
#         "any" => sub { "DUMMY" },
#         "ascii" => sub { "DUMMY" },
#         "between" => sub { "DUMMY" },
#         "blank" => sub { "DUMMY" },
#         "date_to_timepiece" => sub { "DUMMY" },
#         "datetime_to_timepiece" => sub { "DUMMY" },
#         "decimal" => sub { "DUMMY" },
#         "defined" => sub { "DUMMY" },
#         "duplication" => sub { "DUMMY" },
#         "equal_to" => sub { "DUMMY" },
#         "greater_than" => sub { "DUMMY" },
#         "http_url" => sub { "DUMMY" },
#         "in_array" => sub { "DUMMY" },
#         "int" => sub { "DUMMY" },
#         "length" => sub { "DUMMY" },
#         "less_than" => sub { "DUMMY" },
#         "merge" => sub { "DUMMY" },
#         "not_blank" => sub { "DUMMY" },
#         "not_defined" => sub { "DUMMY" },
#         "not_space" => sub { "DUMMY" },
#         "regex" => sub { "DUMMY" },
#         "safety_name" => sub { "DUMMY" },
#         "selected_at_least" => sub { "DUMMY" },
#         "shift" => sub { "DUMMY" },
#         "space" => sub { "DUMMY" },
#         "string" => sub { "DUMMY" },
#         "to_array" => sub { "DUMMY" },
#         "to_array_remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" },
#         "trim_collapse" => sub { "DUMMY" },
#         "trim_lead" => sub { "DUMMY" },
#         "trim_trail" => sub { "DUMMY" },
#         "trim_uni" => sub { "DUMMY" },
#         "trim_uni_collapse" => sub { "DUMMY" },
#         "trim_uni_lead" => sub { "DUMMY" },
#         "trim_uni_trail" => sub { "DUMMY" },
#         "uint" => sub { "DUMMY" }
#       },
#       "error_stock" => 1,
#       "filters" => {
#         "remove_blank" => sub { "DUMMY" },
#         "trim" => sub { "DUMMY" }
#       },
#       "rule_obj" => bless( {
#         "rule" => [
#           {
#             "constraints" => [
#               {
#                 "args" => [],
#                 "funcs" => [
#                   $VAR1->{"plugin"}{"validator"}{"constraints"}{"safety_name"}
#                 ],
#                 "message" => undef,
#                 "original_constraint" => "safety_name"
#               }
#             ],
#             "default" => "",
#             "key" => "database",
#             "option" => {
#               "default" => ""
#             }
#           }
#         ],
#         "validator" => $VAR1->{"plugin"}{"validator"}
#       }, 'Validator::Custom::Rule' ),
#       "shared_rule" => []
#     }, 'Validator::Custom' )
#   }, 'Mojolicious::Plugin::DBViewer' ),
#   "prefix" => "other"
# }
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:36 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:table3)' # Failed test 'content is similar' # at t/sqlite-basic.t line 297. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 297. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:1 to 100)' # Failed test 'content is similar' # at t/sqlite-basic.t line 297. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:3510)' # Failed test 'content is similar' # at t/sqlite-basic.t line 297. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:13)' # Failed test 'content is similar' # at t/sqlite-basic.t line 297. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:16)' # Failed test 'content is similar' # at t/sqlite-basic.t line 323. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=11
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 11,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 323. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=11
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 11,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:3510)' # Failed test 'content is similar' # at t/sqlite-basic.t line 323. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=11
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 11,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:13)' # Failed test 'content is similar' # at t/sqlite-basic.t line 323. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=11
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 11,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:38 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:16)' # Failed test 'content is similar' # at t/sqlite-basic.t line 348. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=12
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 12,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 348. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=12
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 12,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:3510)' # Failed test 'content is similar' # at t/sqlite-basic.t line 348. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=12
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 12,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:13)' # Failed test 'content is similar' # at t/sqlite-basic.t line 348. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=12
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 12,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:16)' # Failed test 'content is similar' # at t/sqlite-basic.t line 348. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=12
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 12,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:21)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:3501 to 3510)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:3510)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:21)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:22)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:24)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:28)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:31)' # Failed test 'content is similar' # at t/sqlite-basic.t line 373. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page&page=36
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "page" => 36,
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:40 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:32)' # Failed test 'content is similar' # at t/sqlite-basic.t line 402. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:42 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 402. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:42 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:800)' # Failed test 'content is similar' # at t/sqlite-basic.t line 418. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:42 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:select\ \*\ from\ \table_page\<\/i\>)' # Failed test 'content is similar' # at t/sqlite-basic.t line 418. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:42 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:801)' # Failed test 'content is similar' # at t/sqlite-basic.t line 418. Wide character in print at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Test2/Formatter/TAP.pm line 112. # ' # # # Page not found (development mode) # # # # # # # # # #
# #
# # #
#
# # # #
#
#

Page not found... yet!

#

# None of these routes could generate a response for your # GET request for # /dbviewer/select, maybe you need # to add a new one? #

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PatternMethodsName
#
/
#
#
*
#
#

#               
#
  +/other
#
#
*
#
#
other
#
#
    +/
#
#
GET
#
#

#               
#
    +/tables
#
#
GET
#
#
tables
#
#
    +/table
#
#
GET
#
#
table
#
#
    +/showcreatetables
#
#
GET
#
#
showcreatetables
#
#
    +/showselecttables
#
#
GET
#
#
showselecttables
#
#
    +/showprimarykeys
#
#
GET
#
#
showprimarykeys
#
#
    +/shownullallowedcolumns
#
#
GET
#
#
shownullallowedcolumns
#
#
    +/select
#
#
GET
#
#
select
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Method:
GET
URL:
/dbviewer/select?database=main&table=table_page
Base URL:
http://127.0.0.1:43391
Parameters:
{
#   "database" => "main",
#   "table" => "table_page"
# }
# 
Stash:
{}
# 
Session:
{}
# 
Version:
1.1
Accept-Encoding:
gzip
Content-Length:
0
Host:
127.0.0.1:43391
User-Agent:
Mojolicious (Perl)
#
#
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Perl:
v5.26.0 (linux)
Mojolicious:
7.29 (Doughnut)
Home:
/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t
Template paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/templates")}, 'Mojo::Home' ),
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib/Mojolicious/Plugin/DBViewer/templates"
# ]
# 
Template classes:
[
#   "Test2"
# ]
# 
Static paths:
[
#   bless( do{\(my $o = "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/t/public")}, 'Mojo::Home' )
# ]
# 
Static classes:
[
#   "Test2"
# ]
# 
Include:
[
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/lib",
#   "/home/ryan/.cpanm/work/1493344378.19833/Mojolicious-Plugin-DBViewer-0.01/blib/arch",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/x86_64-linux",
#   "/home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0",
#   "."
# ]
# 
Config:
{}
# 
Moniker:
sqlite-basic
Name:
t/sqlite-basic.t
Executable:
/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
PID:
19918
Time:
Thu Apr 27 18:53:42 2017
#
#
tap for more
#
#
# # # # ' # doesn't match '(?^:\b9\b)' # Looks like you failed 82 tests of 255. t/sqlite-basic.t .. Dubious, test returned 82 (wstat 20992, 0x5200) Failed 82/255 subtests Test Summary Report ------------------- t/sqlite-basic.t (Wstat: 20992 Tests: 255 Failed: 82) Failed tests: 4-6, 20-22, 34-36, 42-43, 46, 49-56, 58-62 64-66, 68-69, 71-74, 77, 82-84, 98-100 112-114, 120-122, 124-125, 127-130, 133 135-137, 150, 153, 160-161, 174, 177, 184-185 197, 200, 205, 208-210, 216-217, 219, 223 226-227, 233-234, 245-246, 255 Non-zero exit status: 82 Files=3, Tests=256, 40 wallclock secs ( 0.02 usr 0.01 sys + 1.09 cusr 0.04 csys = 1.16 CPU) Result: FAIL Failed 1/3 test programs. 82/256 subtests failed. Makefile:869: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 82 ! Installing Mojolicious::Plugin::DBViewer::MySQL::Dbviewer failed. See /home/ryan/.cpanm/work/1493344378.19833/build.log for details. Retry with --force to force install it. FAIL Command [cpanm --reinstall --verbose Mojolicious::Plugin::DBViewer::MySQL::Dbviewer] terminated with exit code 1 ($? = 256) under the following perl environment: Command terminated with non-zero status. Current perl: Name: perl-blead Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin Compiled at: Mar 30 2017 03:10:09 perlbrew: version: 0.78 ENV: PERLBREW_ROOT: /home/ryan/perl5/perlbrew PERLBREW_HOME: /home/ryan/.perlbrew PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man