NAME

App::Environ::Mojo::Pg - Mojo::Pg for App::Environ

SYNOPSIS

use App::Environ;
use App::Environ::Mojo::Pg;

App::Environ->send_event('initialize');

my $pg = App::Environ::Mojo::Pg->pg('main');

say $pg->db->query('SELECT 1')->array[0];

App::Environ->send_event('finalize:r');

DESCRIPTION

App::Environ::Mojo::Pg used to get Mojo::Pg object in App::Environ environment.

AUTHOR

Andrey Kuzmin, <kak-tus@mail.ru>

SEE ALSO

https://github.com/kak-tus/App-Environ-Mojo-Pg.