README
1NAME
2 Catalyst::Model::CDBI::Sweet - Making sweet things sweeter
3
4SYNOPSIS
5 package MyApp::Model::CDBI;
6 use base 'Catalyst::Model::CDBI::Sweet';
7 MyApp::Model::CDBI->connection('DBI:driver:database');
8
9 package MyApp::Model::Article;
10 use base 'MyApp::Model::CDBI';
11
12 ... # table class config here
13
14DESCRIPTION
15 This model is a thin wrapper around Class::DBI::Sweet to let you use it
16 as a Catalyst Model easily. It's similar to
17 Catalyst::Model::CDBI::Plain.
18
19 If you want to use loader, you will probably want to add something like
20 this to your CDBI model config section instead:
21
22 left_base_classes => qw/Class::DBI::Sweet/,
23
24 To see how you can take advantage of this module, please check out the
25 Class::DBI::Sweet documentation.
26
27SEE ALSO
28 Class::DBI::Sweet, Catalyst::Model::CDBI, Catalyst.
29
30AUTHOR
31 Christian Hansen <ch@ngmedia.com>
32
33THANKS TO
34 Danijel Milicevic, Jesse Sheidlower, Marcus Ramberg, Sebastian Riedel,
35 Viljo Marrandi
36
37SUPPORT
38 #catalyst on <irc://irc.perl.org>
39
40 <http://lists.rawmode.org/mailman/listinfo/catalyst>
41
42 <http://lists.rawmode.org/mailman/listinfo/catalyst-dev>
43
44LICENSE
45 This library is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
48SEE ALSO
49 Catalyst
50
51 Class::DBI::Sweet
52
53