QBit::Application::Model::DB::clickhouse::st - Class for ClickHouse sth.
Implements sth methods for ClickHouse driver.
Arguments:
@params - array (parameters to binding). Optional
Return values:
$result - perl structure or undef
Example:
$sth = $dbh->prepare('INSERT INTO `state` (`date`, `hits`) VALUES (?, ?)'); my $result = $sth->execute("2017-09-03", 13) or die $dbh->err() . ': ' . $sth->errstr();
$attr - hash ref (attributes). Optional
my $result = $sth->fetchall_arrayref({});
No arguments.
STH interface. Always returns true
To install QBit::Application::Model::DB::clickhouse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm QBit::Application::Model::DB::clickhouse
CPAN shell
perl -MCPAN -e shell install QBit::Application::Model::DB::clickhouse
For more information on module installation, please visit the detailed CPAN module installation guide.