- or download this
$ sqlite3 test.db
- or download this
plugins:
Database:
driver: SQLite
database: 'test.db'
- or download this
#!/usr/bin/env perl
...
use TestApp;
TestApp->to_app;
- or download this
package TestApp;
use Dancer2;
...
};
1;
- or download this
HTTP::Server::PSGI: Accepting connections at http://0:5000/
[TestApp:4783] core @2018-09-23 09:52:38> looking for get / in /home/n
+ick/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Dancer2/Cor
+e/App.pm l. 36
...
The DB error: `DBD::SQLite::db do failed: no such table: no_such_table
+` at /home/nick/dev/TestApp/bin/../lib/TestApp.pm line 11.
DBD::SQLite::db do failed: no such table: no_such_table at /home/nick/
+perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Dancer/Plugin/D
+atabase/Core/Handle.pm line 310.
...