Rename SQLAHacks to SQLMaker, shuffle around files, add extensive
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / SQLMaker / SQLite.pm
CommitLineData
09cedb88 1package # Hide from PAUSE
d5dedbd6 2 DBIx::Class::SQLMaker::SQLite;
09cedb88 3
d5dedbd6 4use base qw( DBIx::Class::SQLMaker );
09cedb88 5use Carp::Clan qw/^DBIx::Class|^SQL::Abstract/;
6
7#
8# SQLite does not understand SELECT ... FOR UPDATE
a6b68a60 9# Disable it here
09cedb88 10#
a6b68a60 11sub _parse_rs_attrs {
12 my ($self, $attrs) = @_;
13
14 return $self->SUPER::_parse_rs_attrs ($attrs)
15 if ref $attrs ne 'HASH';
16
17 local $attrs->{for};
18 return $self->SUPER::_parse_rs_attrs ($attrs);
09cedb88 19}
20
211;