The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::Class::Schema::SQLA2Support - SQL::Abstract v2 support in DBIx::Class::Schema

SYNOPSIS

# schema code
package MyApp::Schema;
use strict;
use warnings;
use base qw/DBIx::Class::Schema/;
__PACKAGE__->load_components('Schema::SQLA2Support');
1;

# client code
my $schema = MyApp::Schema->connect( ... );
$schema->sqla2_subclass('DBIx::Class::SQLA2');
$schema->sqla2_rebase_immediately(1);
my $rs = $schema->resultset('Album')->search(undef, {'!with' => [ ... ]});

DESCRIPTION

This is a work in progress for simplifying using SQLA2 with DBIC. This is for using w/ the most recent version of DBIC.

EXPERIMENTAL