NAME

App::Environ::ClickHouse - get instance of HTTP::ClickHouse in App::Environ environment

SYNOPSIS

use App::Environ;
use App::Environ::ClickHouse;
use Data::Dumper;

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

my $CH = App::Environ::ClickHouse->instance;

my $data = $CH->selectall_hash('SELECT * FROM default.test');
say Dumper $data;

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

DESCRIPTION

App::Environ::ClickHouse used to get instance of HTTP::ClickHouse in App::Environ environment

AUTHOR

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

SEE ALSO

https://github.com/kak-tus/App-Environ-ClickHouse.

https://metacpan.org/pod/HTTP::ClickHouse.