| ... | ... |
@@ -1,15 +1,53 @@ |
| 1 |
-DBIx-Custom |
|
| 1 |
+DBIx::Custom |
|
| 2 | 2 |
|
| 3 |
-DBI interface, having hash parameter binding and filtering system |
|
| 3 |
+ DBIx::Custom is Perl module to execute insert, update, delete, and |
|
| 4 |
+ select easily. |
|
| 4 | 5 |
|
| 5 |
-INSTALLATION |
|
| 6 |
+EXAMPLE |
|
| 7 |
+ |
|
| 8 |
+ use DBIx::Custom; |
|
| 9 |
+ |
|
| 10 |
+ # Connect |
|
| 11 |
+ my $dbi = DBIx::Custom->connect(dsn => "dbi:SQLite:dbname=$database"); |
|
| 12 |
+ |
|
| 13 |
+ # Insert |
|
| 14 |
+ $dbi->insert({title => 'Perl', author => 'Ken'}, table => 'book');
|
|
| 15 |
+ |
|
| 16 |
+ # Update |
|
| 17 |
+ $dbi->update({title => 'Perl', author => 'Ken'}, table => 'book',
|
|
| 18 |
+ where => {id => 5});
|
|
| 19 |
+ |
|
| 20 |
+ # Delete |
|
| 21 |
+ $dbi->delete(table => 'book', where => {author => 'Ken'});
|
|
| 6 | 22 |
|
| 7 |
-cpan DBIx::Custom |
|
| 23 |
+ # Select |
|
| 24 |
+ my $result = $dbi->select(table => 'book'); |
|
| 25 |
+ my $rows = $result->all; |
|
| 26 |
+ |
|
| 27 |
+INSTALLATION |
|
| 8 | 28 |
|
| 9 |
-COPYRIGHT AND LICENCE |
|
| 29 |
+ cpan DBIx::Custom |
|
| 30 |
+ |
|
| 31 |
+FEATURES |
|
| 10 | 32 |
|
| 11 |
-Copyright (C) 2009 Yuki Kimoto |
|
| 33 |
+ - Execute insert, update, delete, or select statement easily |
|
| 34 |
+ - Create where clause flexibly |
|
| 35 |
+ - Named place holder support |
|
| 36 |
+ - Model support |
|
| 37 |
+ - Connection manager support |
|
| 38 |
+ - Choice your favorite relational database management system, MySQL, |
|
| 39 |
+ SQLite, PostgreSQL, Oracle, Microsoft SQL Srver, Microsoft Access, |
|
| 40 |
+ or anything, |
|
| 41 |
+ - Filtering by data type or column name |
|
| 42 |
+ - Create order by clause flexibly |
|
| 12 | 43 |
|
| 13 |
-This program is free software; you can redistribute it and/or modify it |
|
| 14 |
-under the same terms as Perl itself. |
|
| 44 |
+DOCUMENTS |
|
| 15 | 45 |
|
| 46 |
+ DBIx::Custom Documents |
|
| 47 |
+ https://github.com/yuki-kimoto/DBIx-Custom/wiki |
|
| 48 |
+ |
|
| 49 |
+ API reference |
|
| 50 |
+ http://search.cpan.org/~kimoto/DBIx-Custom/ |
|
| 51 |
+ |
|
| 52 |
+ CPAN |
|
| 53 |
+ http://search.cpan.org/~kimoto/DBIx-Custom/lib/DBIx/Custom.pm |
| ... | ... |
@@ -2266,12 +2266,10 @@ Create C<order by> clause flexibly |
| 2266 | 2266 |
|
| 2267 | 2267 |
=head1 DOCUMENTS |
| 2268 | 2268 |
|
| 2269 |
-L<DBIx::Custom Documents|https://github.com/yuki-kimoto/DBIx-Custom/wiki/DBIx::Custom-Documents> |
|
| 2269 |
+L<DBIx::Custom Documents|https://github.com/yuki-kimoto/DBIx-Custom/wiki> |
|
| 2270 | 2270 |
|
| 2271 | 2271 |
L<DBIx::Custom API reference|http://search.cpan.org/~kimoto/DBIx-Custom/> |
| 2272 | 2272 |
|
| 2273 |
-L<DBIx::Custom Examples|Wiki|https://github.com/yuki-kimoto/DBIx-Custom/wiki> |
|
| 2274 |
- |
|
| 2275 | 2273 |
=head1 ATTRIBUTES |
| 2276 | 2274 |
|
| 2277 | 2275 |
=head2 C<async_conf> EXPERIMENTAL |
| ... | ... |
@@ -3876,7 +3874,7 @@ EXPERIMENTAL features will be changed without warnings. |
| 3876 | 3874 |
|
| 3877 | 3875 |
=head1 BUGS |
| 3878 | 3876 |
|
| 3879 |
-Please tell me bugs if found. |
|
| 3877 |
+Please tell me bugs if you find bug. |
|
| 3880 | 3878 |
|
| 3881 | 3879 |
C<< <kimoto.yuki at gmail.com> >> |
| 3882 | 3880 |
|