Skip to content

Commit

Permalink
keep the examples minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 27, 2018
1 parent 64c97a9 commit 6d27bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/Pg/Database.pm
Expand Up @@ -503,7 +503,7 @@ L<SQL::Abstract>.
As well as some PostgreSQL specific extensions added by L<SQL::Abstract::Pg>.
# "select * from foo join bar on (bar.foo_id = foo.id)"
$db->select(['foo', ['bar', 'foo_id', 'id']], '*');
$db->select(['foo', ['bar', 'foo_id', 'id']]);
# "select * from foo left join bar on (bar.foo_id = foo.id)"
$db->select(['foo', ['bar', 'foo_id', 'id', 'left']]);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Abstract/Pg.pm
Expand Up @@ -238,7 +238,7 @@ table names, but also array references with tables to generate C<JOIN> clauses
for.
# "select * from foo join bar on (bar.foo_id = foo.id)"
$abstract->select(['foo', ['bar', 'foo_id', 'id']], '*');
$abstract->select(['foo', ['bar', 'foo_id', 'id']]);
# "select * from foo left join bar on (bar.foo_id = foo.id)"
$abstract->select(['foo', ['bar', 'foo_id', 'id', 'left']]);
Expand Down

0 comments on commit 6d27bbb

Please sign in to comment.