DBIx-Skinny
view release on metacpan or search on metacpan
lib/DBIx/Skinny.pm view on Meta::CPAN
Disconnects from the currently connected database.
=item $skinny->suppress_row_objects($flag)
set row object creation mode.
=back
=head1 ATTRIBUTES
=over
=item order_by
{ order_by => [ { id => 'desc' } ] }
# or
{ order_by => { id => 'desc' } }
# or
{ order_by => 'name' }
=item for_update
{ for_update => 1 }
=back
=head1 ENVIRONMENT VARIABLES
=head2 SKINNY_PROFILE
for debugging sql.
see L<DBIx::Skinny::Profile>
$ SKINNY_PROFILE=1 perl ./your_script.pl
=head2 SKINNY_TRACE
for debugging sql.
see L<DBIx::Skinny::Profiler::Trace>
$ SKINNY_TRACE=1 perl ./your_script.pl
=head2 TRIGGER
my $row = $db->insert($args);
# pre_insert: ($db, $args, $table_name)
# post_insert: ($db, $row, $table_name)
my $updated_rows_count = $db->update($args);
my $updated_rows_count = $row->update(); # example $args: +{ id => $row->id }
# pre_update: ($db, $args, $table_name)
# post_update: ($db, $updated_rows_count, $table_name)
my $deleted_rows_count = $db->delete($args);
my $deleted_rows_count = $row->delete(); # example $args: +{ id => $row->id }
# pre_delete: ($db, $args, $table_name)
# post_delete: ($db, $deleted_rows_count, $table_name)
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
=head1 AUTHOR
Atsushi Kobayashi C<< <nekokak __at__ gmail.com> >>
=head1 CONTRIBUTORS
walf443 : Keiji Yoshimi
TBONE : Terrence Brannon
nekoya : Ryo Miyake
oinume: Kazuhiro Oinuma
fujiwara: Shunichiro Fujiwara
pjam: Tomoyuki Misonou
magicalhat
Makamaka Hannyaharamitu
nihen: Masahiro Chiba
lestrrat: Daisuke Maki
tokuhirom: Tokuhiro Matsuno
=head1 SUPPORT
irc: #dbix-skinny@irc.perl.org
ML: http://groups.google.com/group/dbix-skinny
=head1 REPOSITORY
git clone git://github.com/nekokak/p5-dbix-skinny.git
=head1 LICENCE AND COPYRIGHT
Copyright (c) 2010, Atsushi Kobayashi C<< <nekokak __at__ gmail.com> >>. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.
( run in 1.286 second using v1.01-cache-2.11-cpan-ad19def0cd9 )