NAME

DBIx::Simple::Concrete - monkey-patch DBIx::Simple to use SQL::Concrete

SYNOPSIS

use DBIx::Simple::Concrete;
# ...
my $rows = $db->cquery( '
    SELECT title
    FROM threads
    WHERE date >', \$date, '
    AND', { subject => \@subjects }, '
' )->arrays;

DESCRIPTION

The recommended way to use SQL::Concrete is via its DBIx::Simple integration, which provides an excellent alternative to plain DBI access.

But by loading this module instead (or after) DBIx::Simple, a cquery method will be added to it which integrates SQL::Concrete just the same way as its built-in iquery method integrates SQL::Interp.

This is all there is to this module.

AUTHOR

Aristotle Pagaltzis <pagaltzis@gmx.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Aristotle Pagaltzis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.