SQL::Statement::Functions::Logic - Logic functions
This document describes version 0.001 of SQL::Statement::Functions::Logic (from Perl distribution SQL-Statement-Functions-Logic), released on 2017-01-25.
This distribution contains several SQL functions to be used with SQL::Statement:
IF()
To use a function from Perl script:
require SQL::Statement::Function::ByName::IF; $dbh->do(qq{CREATE FUNCTION IF NAME "SQL::Statement::Function::ByName::MAXNUM::SQL_FUNCTION_IF"});
To use a function from fsql:
% fsql -F IF --add-csv path/to/sometable.csv "SELECT IF(a > b,c,d) FROM sometable ..."
Please visit the project's homepage at https://metacpan.org/release/SQL-Statement-Functions-Logic.
Source repository is at https://github.com/perlancar/perl-SQL-Statement-Functions-Logic.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=SQL-Statement-Functions-Logic
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SQL::Statement
App::fsql
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install SQL::Statement::Functions::Logic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Statement::Functions::Logic
CPAN shell
perl -MCPAN -e shell install SQL::Statement::Functions::Logic
For more information on module installation, please visit the detailed CPAN module installation guide.