Improving the database doc.
This commit is contained in:
parent
823c0633fb
commit
cce5201ddd
@ -30,8 +30,10 @@
|
||||
|
||||
<h1 id="SYNOPSIS">SYNOPSIS</h1>
|
||||
|
||||
<pre><code>my $config =
|
||||
$self->plugin(
|
||||
<pre><code>my $peace = Peace->new;
|
||||
my $home = $ENV{HOME};
|
||||
my $config =
|
||||
$peace->plugin(
|
||||
JSONConfig => {
|
||||
file => "$home/.config/peace/peace.conf"
|
||||
}
|
||||
@ -60,7 +62,7 @@ my $dbh = Peace::DB->dbh( config => $config );</code></pre>
|
||||
|
||||
<h1 id="SEE-ALSO">SEE ALSO</h1>
|
||||
|
||||
<p><a>DBI</a>, <a>DBD::Pg</a></p>
|
||||
<p><a>DBI</a>, <a>DBD::Pg</a>, <a href="/lib/Peace.html">Peace</a></p>
|
||||
|
||||
|
||||
</body>
|
||||
|
@ -165,8 +165,10 @@ Peace::DB - Database handler generator for the Peace shop.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
my $peace = Peace->new;
|
||||
my $home = $ENV{HOME};
|
||||
my $config =
|
||||
$self->plugin(
|
||||
$peace->plugin(
|
||||
JSONConfig => {
|
||||
file => "$home/.config/peace/peace.conf"
|
||||
}
|
||||
@ -197,4 +199,4 @@ Runs the migrations manually.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<DBI>, L<DBD::Pg>
|
||||
L<DBI>, L<DBD::Pg>, L<Peace>
|
||||
|
Loading…
Reference in New Issue
Block a user